Yes, it's been done time and time again, though I hope you can enjoy my take on it!
Have a crack at it here. π€«
Noughts and crosses can be boring, why not pick an emoji instead?
Win all you can against the c0mput3r now because it will soon learn to outsmart you*. π§
Scores, names and symbols are stored locally so if you refresh the page accidentally, your info will still be there. Simply change game modes or click the 'Reset' button down the bottom to wipe this if you want to start afresh.
- Refactor the DRY CSS/JS bits. π₯΅
- Safari shows some elements like customised drop downs and z-index a little funky - will work on resolving these in the next update. π§
- *Smarter c0mput3r player - add greater intelligence into the computer player. At the moment its choices are....well let's be honest, it's hard not to win at the moment. Will fix this in the next update. πΎ
- Mobile-responsiveness - this experience needs to be improved, pronto! π±
Notice anything else that's out of whack? Holla at me!
- Shuffle feature - forgot your name and can't pick a symbol? This will help! π
- Play via keyboard - ability for players to use keys instead of the clicky mouse. π
- Add ability for multi-player games between different browsers. π©π»βπ»π¨π»βπ»
- Show a shaded version of the current player's symbol on hovering available squares during game. π΄π»
Thanks so much to Joel, Stacey and Guillaume and the rest of the GA team for the brilliant learning experience prior to and whilst attempting to build this app - it's been a wild time already and looking forward to what's to come in the course - thank you! π€
Shouts out to the frameworks that helped make it look speccy too:
Special mention to Stack Overflow and all the users and contributions there that helped further understanding jQuery and good 'ol vanilla JS π¦ method use.
Special mention also to jQuery which I've used in the build - some may react a certain way to this π, though it certainly helped with speed of production and is the beginning of exploring building things with JS - it's been fun and I look forward to learning new frameworks that work similarly to improve the ease-of-use for vanilla of JS. πΌ
This has been fun and I hope you enjoy the result as much as I enjoyed the process! π