Skip to content

staadecker/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

Two-player tic tac toe game using JavaFX (with FXML).

Architecture

Uses the MVP (Model-View-Presenter) Pattern.

The model

The model is defined by the Game class and is independent of the GUI. The model defines the status of boxes, to which the tour and the status of the game (Equality, Winner, etc.)

The View

The view is defined by FXML files. It's the graphical interface.

The Controller (The Presentator)

The presenter or controller controls the View (the GUI) according to the model. It makes sure that the graphical interface always represents the model of the Game. It also transmits the actions of the user to the model (ex. button pressed, click on box)

About

A simple 2-player Tic Tac Toe game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published