A challenge that concludes our very first week of the Data science bootcamp @ neue fische
Developed by eburakova and ddotplus
Written by eburakova.
- Supports sqare fields size up to 31 x 31 (and up to ∞ but the visuals break)
- Uses custom emojis and symbols
Demo
tictactoe.demo.mov
![image](https://private-user-images.githubusercontent.com/132762399/302117130-27064d8a-cd84-48fa-a3b1-d4c6e0051580.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5NzgyMjIsIm5iZiI6MTcyMzk3NzkyMiwicGF0aCI6Ii8xMzI3NjIzOTkvMzAyMTE3MTMwLTI3MDY0ZDhhLWNkODQtNDhmYS1hM2IxLWQ0YzZlMDA1MTU4MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOFQxMDQ1MjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZDYzYzNiNTEwOGRjNTBjMjJjNzJiYTgxN2Y5MGQ2M2FjYWJjNjQ0YTkxOWM5NzMxMTk2NGU2M2Q4MGQ2MDcxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.87OSQVp_L78wea7etoKeoKGAVJfwZ58uLUk_Ji3I27Q)
Written by @ddotplus
- Supports sqare fields size up to 31 x 31 (and up to ∞ but the visuals break)
- Has options to input a saved game state, to abort the game and list out free cells
Demo
┌---┬---┬---┐
│ 1 │ 2 │ 3 │
├---┼---┼---┤
│ 4 │ X │ 6 │
├---┼---┼---┤
│ 7 │ 8 │ O │
└---┴---┴---┘
User-1 (X):
%% `a` - available positions
%% `d` - draw game status
%% `q` - quit
> please input position [1-9]: a
available positions: [1, 2, 3, 4, 6, 7, 8]
┌---┬---┬---┬---┬---┬---┐
│ O │ O │ O │ O │ O │ O │
├---┼---┼---┼---┼---┼---┤
│ 7 │ 8 │ 9 │ X │ 11│ 12│
├---┼---┼---┼---┼---┼---┤
│ 13│ 14│ X │ 16│ O │ X │
├---┼---┼---┼---┼---┼---┤
│ O │ X │ X │ O │ X │ O │
├---┼---┼---┼---┼---┼---┤
│ X │ X │ O │ X │ 29│ 30│
├---┼---┼---┼---┼---┼---┤
│ O │ X │ X │ X │ O │ X │
└---┴---┴---┴---┴---┴---┘
User-2 (O) won the game, congratulations!
Plan of the project
Development and tests