Skip to content

CristianLopez3/tic-tac-toe-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TIC TAC TOE WITH JAVA

Hi there, this is a tic-tac-toe game made in shell with java, the idea of the project is:

  • Implement Object-Oriented Programming

  • Implement SOLID Principles

  • Understand a little bit more about Exceptions

  • Dockerize the project

Execute the project with docker: 🐋

docker build -t tictactoe .
docker run -it --rm tictactoe

Package and file organization:

    com.game.tictactoe
    ├── exception
    │   └── InvalidMoveException.java
    ├── model
    │   ├── Player.java
    │   ├── HumanPlayer.java
    │   ├── ComputerPlayer.java
    │   └── Board.java
    ├── interface
    │   ├── Playable.java
    │   └── Displayable.java
    ├── util
    │   └── Constants.java
    └── Game.java
    |-- Main.java

Important

If you have any aspect that could be improved please do create and issue

About

tic tac toe in a shell with java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published