/GameHub

A repository containing basic implementation of classic games like tic-tac-toe, ping-pong. This repository is not language specific.

Primary LanguagePython

GAMEHUB

This repository contains games developed using various Languages like Python and JAVA. Intention of this project is to create games using various technologies

1. Tic-Tac-Toe - Python 3

Instruction

A two player game which can have from 2x2 to 10x10 matrix.

How to run the game?

1. Install python3 either by visiting their official website which can be found here or running a command.
sudo apt-get install python3

2. Run the following code to run the game.
python3 tic-tac-toe.py

Sample gameplay

Sample Gameplay

Code Review

The code has been reviewed at stackexchange which can be found here.


2. Ping-Pong - Java

Instruction

Ping pong is a Player vs CPU type of classic ping pong game.

How to run the game?

Eclipse IDE
  1. Install Eclipse IDE and setup Java.
  2. Copy the file contents to Eclipse Workspace Folder.
  3. Open the project in Eclipse and run Tennis.java file in the source folder.
Netbeans and other IDE
  • Import the project as Eclipse Project in the IDE.
  • Follow the above steps.

Sample Gameplay

Sample Gameplay