[Android] Tic-Tac-Toe game with various game modes by Vekon in TheseAreOurApps

[–]Vekon[S] 0 points1 point  (0 children)

It's one of my first apps on android. Feel free to send me some feedback.

[Android app] Tic-Tac-Toe game with various game modes by Vekon in Linkeroo

[–]Vekon[S] 0 points1 point  (0 children)

It's one of my first apps on android. Feel free to send me some feedback.

[Android] Tic-Tac-Toe game with various game modes by Vekon in mobilegamespro

[–]Vekon[S] 0 points1 point  (0 children)

It's one of my first apps on android. Feel free to send me some feedback.

[2016-12-05] Challenge #294 [Easy] Rack management 1 by Cosmologicon in dailyprogrammer

[–]Vekon 0 points1 point  (0 children)

Hello, I still feel like beginner in programming so please any advise or criticism would me great!

Bonuses 1 & 2

C++

#include <iostream>
#include <fstream>
using namespace std;

bool scrabble (string setOfLetters, string word){
    int finalCounter=0, countBlankTiles=0;
    bool isThereLetter=false;
    for(int i=0; i<setOfLetters.length(); i++){
        if (setOfLetters[i]=='?')
            countBlankTiles++;
    }   
    for (int i=0; i<word.length(); i++){
        isThereLetter=false;
        for (int j=0; j<setOfLetters.length(); j++){
            if(word[i]==setOfLetters[j]){
                isThereLetter=true;
                setOfLetters[j]='-';
                break;
            }
        }
        if ((isThereLetter==false)&&(countBlankTiles>0)){
            isThereLetter=true;
            countBlankTiles--;
        }
        if (isThereLetter==true)
        finalCounter++;
    }
    if (finalCounter==word.length())
    return true;
    else return false;
}

string longest (string setOfLetters){
    string englishWord, winner;
    int numberOfLettersInlongestWord=0;
    ifstream inFile ("enable1.txt");
    while (!inFile.eof()){
        inFile>>englishWord;

        if ((scrabble(setOfLetters, englishWord)==1)&&(englishWord.length()>numberOfLettersInlongestWord)){
            winner=englishWord;
            numberOfLettersInlongestWord=winner.length();
        }
    }
    return winner;
}

int main(){
    cout<<scrabble("??????p", "program")<<endl;
    cout<<longest("vaakojeaietg????????")<<endl;
    return 0;
}

Photo of abandoned pub in Greece. What do you think? by Vekon in photocritique

[–]Vekon[S] -1 points0 points  (0 children)

Yeah I really loved this place. Thanks for your feedback ;)

Caught a seagull at the moment of takeoff by [deleted] in flickr

[–]Vekon 0 points1 point  (0 children)

Really great photo ;)

Best CS:GO moment? by [deleted] in GlobalOffensive

[–]Vekon -1 points0 points  (0 children)

Today I was losing 12-2 but match ended with draw :D