Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Daniel Hüsken

Pages: 1
1
Thumby / Re: TicTacToe game
« on: October 26, 2021, 11:25:55 AM »
i created a TicTacToe game. Was my first programming with Phyton. You can find it here https://github.com/danielhuesken/Thumby/blob/main/Games/TicTacToe/TicTacToe.py

Feedback is welcome ;)


Hello! I've tried Your TicTacToe game and I thank You very much for making it and sharing it with us! Here are a couple of my thoughts and suggestions in case You are planning to continue developing this game:
* I really like the minimalistic look of Your game; however, I would suggest making "lose\win\draw" announcements non-transparent or move it somewhere or change font because currently it blends with TicTacToe's board and is barely readable.
* It would be nice to be able to rematch without the need to restart the system\emulator.
* In future updates I would like to see a mode with a bigger board and the target to connect four "x"\"o".

Good luck with Your game!

Yes, i have already some plans for continue developing.
* That is one of my plans, but in moment i have made no decision about how to do it.
* Is on the list. Also showing how man losses and winns and change if you would use x or o. Multiplayer when i know how.
* That is one of the very last, when i will do that, we will see.

2
Thumby / Re: TicTacToe game
« on: October 26, 2021, 11:20:34 AM »


I'd suggest something like:
if thumby.buttonD.justPressed()  or thumby.buttonU.justPressed():
 for i in range(8):
        if postion == i:
           if i - 3 > 0 or  i+3 > 8:
                i -= 3
           elif i + 3 < 8 or i - 3 < 0:
                i += 3
           if not playField[ i ]:
                postion = i



       
 Note I'm on a cell phone so I haven't compiled this yet, but it or something similar should work.       
Also I'd fix some of the misspellings as they make the code hard to read.
         

Hi i could improve it but no luck with that you suggested. I will commit the changes later so that you can see how.

I will also have a look about the misspellings. Thank you.

3
Thumby / TicTacToe game
« on: October 25, 2021, 02:45:45 AM »
i created a TicTacToe game. Was my first programming with Phyton. You can find it here https://github.com/danielhuesken/Thumby/blob/main/Games/TicTacToe/TicTacToe.py

Feedback is welcome ;)

Pages: 1
SMF spam blocked by CleanTalk