Skip to content

projecteurlumiere/tic_tac_toe_online

Repository files navigation

Summary

This is a Tic Tac Toe game but online.

I adore this old repository because it is a beginner's exercise which went out of control. Students making their first steps learning Ruby were supposed to build a simple CLI game and learn some OOP. I, however, ended up building a full-fledged Sinatra-based app having never coded web apps before.

Advantages

  • Highest low quiality procedural code
  • The classes present in this code are, probably, the first classes I have ever coded
  • The game was first designed for CLI, and it still outputs everything to stdout!
  • No databases or any ways of communication between instances. No one has that many friends to require more than one instance anyway!
  • Mesmerizing character visual design
  • I'm not sure if 5x5 field works correctly: there's an opportunity for a future DLC!

Screenshots

Welcome screen

Main screen

X is searching for a worthy opponent

Searching for opponent

Authentic in-game rendered gameplay screenshots

Gameplay

You can actually communicate with your opponent

In-game communication

By "communicate" I mean excessive taunting, of course

In-game taunting

Booting up

Dependencies

  • Ruby 3.2.2

Launching

  bundle exec ruby main.rb

About

An exercise that went out of hand

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published