Skip to content

nimisaya/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

84 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tic Tac Toe

Egg, Yolk, Chicken is your opportunity to answer the age old question of what came first, Chicken or the Egg? If you can play Tic Tac Toe then you can play this! Battle it out against a friend (or friendly AI) and determine if chicken wins (came first) or egg does. Get a draw? I guess they came into existence at the same time.

Link

Play the game: nimisaya.github.io/tic-tac-toe

How was it built?

Egg, Yolk, Chicken was built with a combination of JavaScript, jQuery, CSS and HTML.

Features

  • Option to play as the Egg or Chicken
  • Choose your grid size: 3x3, 4x4, 5x5 or 6x6 (5x5 and 6x6 not available on mobile due to limited size).
  • Play again (Note: It assumes you want the same grid and first go alternates between players).
  • Play against a basic AI or a non-basic human

Known bugs

  • Not compatible with iPads / Tablets or wearables
  • Gameboard may not appear centered on some browsers (e.g. Safari on iPhone 11)
  • Some aspects are not accessible

Future Features

  • Start new game button (negate need to refresh to change game settings)
  • Aria-labels
  • Improved separation of ui and game logic
  • Improved responsiveness

Screenshots

Menu for choosing piece (Egg or Chicken) Menu for choosing grid size Game play

My experience developing the game

My experience can be summed up as doing 80% of the work in 20% of the time and fixing bugs the remaining 80% of the time. I will definitely spend more time on thinking and planning next time πŸ˜… . I started to refactor the code and clean it up but life got in the way and I am yet to be motivated to come back to this project.

About

Egg, yolk, chicken is my take on the classic Tic Tac Toe. Play to see what really came first, chicken or the egg? πŸ₯šπŸ”

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published