Giter Site home page Giter Site logo

tic-tac-toe-using-swing's Introduction

Tic-Tac-Toe

About Tic Tac Toe

- Tic-tac-toe, noughts and crosses or Xs and Os is a two players Game, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.

Swing (GUI)

Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs.
For more
https://www.geeksforgeeks.org/creating-frames-using-swings-java/

AWT(Abstract Window Toolkit)

It is a platform dependent API for creating Graphical User Interface (GUI) for java programs.
For more
https://www.javatpoint.com/java-awt

Model–view

Model

Model refers either to a domain model, which represents real state content (an object-oriented approach), or to the data access layer, which represents content (a data-centric approach).

View

The view is the structure, layout, and appearance of what a user sees on the screen. It displays a representation of the model and receives the user's interaction with the view (clicks, keyboard, gestures, etc.), and it forwards the handling of these to the view model via the data binding (properties, event callbacks, etc.) that is defined to link the view and view model.
For more
https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel

Features

1. 3x3 Grid Board
2. Current Player Chance Indicator
3. Score Card For Both Player (Player X and Player O)
4. Next Match Button (To Start A Fresh New Match)
5. Restart Button (To Reset the game and the Score Card to Initial)
6. Win / Draw Indicator
7. Winning Player Indication

GUI

tic-tac-toe-using-swing's People

Contributors

hassanyosuf avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.