Skip to content

isobew/tic-tac-toe-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Tic-tac-toe - Ruby Lang

This is a simple tic-tac-toe terminal game made and implemented with the ruby ​​language

You can run the code with the command "ruby game.rb"

The following functions have been implemented in the game:

  • The handling of invalid entries (entries of different types and positions that have already been chosen);
  • Interactive messages with players (in case the entries are invalid, and to report the winner or tie);
  • The choice of different game types (user vs. user and user vs. computer);

Functions that have yet to be implemented:

  • Include the game type "computer vs. computer";
  • Include the player's choice about the level of difficulty.

When the game starts, you can choose the game mode between "user vs. user" and "user vs. computer" through numbers 0 and 1, from there you can play with the game mode you chose.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages