Skip to content

acostinescu/One-Button-TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One-Button TicTacToe

Alex Costinescu

A simple TicTacToe game built using JQuery that is played using only one button. Built for an Input Interaction and Accessibility course at CU Boulder and designed for players that have limited mobility.


System Requirements

A computer or device with JavaScript support and a keyboard attached. Does not currently support touch devices.


Instructions

  1. Open index.html ( Also available here: https://acostinescu.github.io/One-Button-TicTacToe/ ) in the browser of your choice.
  2. Follow the instructions on screen and play!

Slightly Longer Instructions

This game is played used just the spacebar.

By tapping the spacebar, players cycle through rows on the board. Once a desired row is selected, pressing and holding the spacebar enters that row and switches the game into column selection mode.

Once in column selection mode, tapping the spacebar cycles through columns in the selected row. Pressing and holding in this mode marks a column with either an X or an O and advances the turn.

Players can also tap the spacebar twice in quick succession to exit column selection mode and return to row selection mode without marking a square.

Once a player has won, or the game ends in a tie, a dialog will appear announcing the winner. Tapping space now clears the dialog and resets the board for the next game.

About

A simple in-browser TicTacToe game that can be played with a single button.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published