Skip to content

L000Pz/Minecraft_TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

TicTacToe

A simple plugin to play tic tac toe in Minecraft (Data base still under construction ...)


Table of Contents

You can access different sections from here:


Description

Here we have the source code for the actual plugin, you can change stuff in it, especially if you want to add your SQL server to store the saved games.

Back To The Top


Installation

The usage is pretty easy. After you're done with the code just compile the tic tac toe class and copy the .jar file from the target folder into your plugins folder in your dedicated server folder.

Back To The Top


How To Use

Starting the game

You can start the game by using /challenge or /ttt followed by your friends' game id. Note that your friend must be online.

After that, your friend has 10 seconds to accept your request by using /accept. They also can deny your request by using the /deny command.

Placing pieces

You have 2 options to place your piece:

->First, simply right-click on the block you want to place your piece.

->Second, use command /put followed by a number from 1 to 9.

Saving your game

As you proceed to play, note that you can save your game by connecting the code to your SQL server. To save your game use /save command followed by any number. Just remember that the number shouldn't be repetitious. You can also load your game by using the /load command followed by your previously saved game number.

Back To The Top


Author Info

This plugin used the TicTacToe repository as its base, feel free to use it.

I would appreciate your comments on the code. I'm an amateur programmer and open to all opinions.😊

Back To The Top

About

A simple plugin for playing tic tac toe in Minecraft.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages