-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
911eaee
commit 7e5cf84
Showing
34 changed files
with
30,704 additions
and
91 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,38 @@ | ||
# XO-Game-Three.js | ||
X and O game implemented in java script using three.js | ||
|
||
## Introduction | ||
Do you remember playing tic-tac-toe (X and O) when you were bored growing up? Well, imagine taking that classic game to a whole new level of fun with Three.js! This project implements the X and O game in JavaScript using Three.js, adding a 3D experience, physics, and even some music. Get ready to enjoy a modern twist on a timeless game! | ||
|
||
## Features | ||
- X and O game implemented in JavaScript. | ||
- Built using Three.js for a 3D experience. | ||
- Incorporates physics for realistic interactions. | ||
- Includes background music for added enjoyment. | ||
|
||
## How to Play | ||
1. Open the game in your web browser. | ||
2. Click on a square to place your X or O. | ||
3. Try to get three of your symbols in a row, either horizontally, vertically, or diagonally, before your opponent does. | ||
4. Enjoy the immersive 3D experience and lively background music as you play! | ||
|
||
## Technologies Used | ||
- JavaScript | ||
- Three.js | ||
- HTML/CSS | ||
- Web Audio API (for music) | ||
|
||
## Installation | ||
To run the game locally: | ||
1. Clone this repository to your local machine. | ||
2. Open the `index.html` file in your web browser. | ||
3. Start playing and have fun! | ||
|
||
## Credits | ||
This project was created by [Your Name] as a fun way to explore game development with Three.js. | ||
|
||
Special thanks to: | ||
- The creators of Three.js for providing an amazing library for 3D graphics in the browser. | ||
- [Name of music artist] for the awesome background music used in the game. | ||
|
||
## License | ||
This project is licensed under the [MIT License](LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
[{ | ||
"version": "1.0", | ||
"image": { | ||
"name": "/home/videosdownloader/public_html/image/public/uploadt/PressStart2P-Regular.ttf", | ||
"baseName": "PressStart2P-Regular.ttf", | ||
"format": "TTF", | ||
"formatDescription": "TTF", | ||
"class": "DirectClass", | ||
"geometry": { | ||
"width": 800, | ||
"height": 480, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"units": "Undefined", | ||
"type": "GrayscaleAlpha", | ||
"baseType": "Undefined", | ||
"endianness": "Undefined", | ||
"colorspace": "sRGB", | ||
"depth": 16, | ||
"baseDepth": 16, | ||
"channelDepth": { | ||
"alpha": 1, | ||
"red": 16, | ||
"green": 16, | ||
"blue": 1 | ||
}, | ||
"pixels": 1536000, | ||
"imageStatistics": { | ||
"Overall": { | ||
"min": 0, | ||
"max": 65535, | ||
"mean": 56575.9, | ||
"median": 65535, | ||
"standardDeviation": 18611.1, | ||
"kurtosis": 2.53508, | ||
"skewness": -2.11278, | ||
"entropy": 0.121392 | ||
} | ||
}, | ||
"channelStatistics": { | ||
"alpha": { | ||
"min": 65535, | ||
"max": 65535, | ||
"mean": 65535, | ||
"median": 65535, | ||
"standardDeviation": 0, | ||
"kurtosis": 1.6384e+52, | ||
"skewness": 9.375e+35, | ||
"entropy": 0 | ||
}, | ||
"red": { | ||
"min": 0, | ||
"max": 65535, | ||
"mean": 53589.6, | ||
"median": 65535, | ||
"standardDeviation": 24814.8, | ||
"kurtosis": 0.762098, | ||
"skewness": -1.64391, | ||
"entropy": 0.161856 | ||
}, | ||
"green": { | ||
"min": 0, | ||
"max": 65535, | ||
"mean": 53589.6, | ||
"median": 65535, | ||
"standardDeviation": 24814.8, | ||
"kurtosis": 0.762098, | ||
"skewness": -1.64391, | ||
"entropy": 0.161856 | ||
}, | ||
"blue": { | ||
"min": 0, | ||
"max": 65535, | ||
"mean": 53589.6, | ||
"median": 65535, | ||
"standardDeviation": 24814.8, | ||
"kurtosis": 0.762098, | ||
"skewness": -1.64391, | ||
"entropy": 0.161856 | ||
} | ||
}, | ||
"renderingIntent": "Perceptual", | ||
"gamma": 0.454545, | ||
"chromaticity": { | ||
"redPrimary": { | ||
"x": 0.64, | ||
"y": 0.33 | ||
}, | ||
"greenPrimary": { | ||
"x": 0.3, | ||
"y": 0.6 | ||
}, | ||
"bluePrimary": { | ||
"x": 0.15, | ||
"y": 0.06 | ||
}, | ||
"whitePrimary": { | ||
"x": 0.3127, | ||
"y": 0.329 | ||
} | ||
}, | ||
"matteColor": "#BDBDBD", | ||
"backgroundColor": "#FFFFFF", | ||
"borderColor": "#DFDFDF", | ||
"transparentColor": "#00000000", | ||
"interlace": "None", | ||
"intensity": "Undefined", | ||
"compose": "Over", | ||
"pageGeometry": { | ||
"width": 800, | ||
"height": 480, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"dispose": "Undefined", | ||
"iterations": 0, | ||
"compression": "Undefined", | ||
"orientation": "Undefined", | ||
"properties": { | ||
"date:create": "2023-12-27T23:19:31+00:00", | ||
"date:modify": "2023-12-27T23:19:31+00:00", | ||
"signature": "19e30915bca39a199bfbcff3d13a217da331345064522dfa213a6fddac4b025c" | ||
}, | ||
"artifacts": { | ||
"mvg:vector-graphics": "push graphic-context\n viewbox 0 0 800 480\n font-size 18\n text 10,20 'abcdefghijklmnopqrstuvwxyz\nABCDEFGHIJKLMNOPQRSTUVWXYZ\n0123456789.:,;(*!?}^)#${%^&-+@\n'\n font-size 18\n text 10,144 '12'\n font-size 12\n text 50,144 'That which does not destroy me, only makes me stronger.'\n font-size 18\n text 10,174 '18'\n font-size 18\n text 50,174 'That which does not destroy me, only makes me stronger.'\n font-size 18\n text 10,210 '24'\n font-size 24\n text 50,210 'That which does not destroy me, only makes me stronger.'\n font-size 18\n text 10,258 '36'\n font-size 36\n text 50,258 'That which does not destroy me, only makes me stronger.'\n font-size 18\n text 10,318 '48'\n font-size 48\n text 50,318 'That which does not destroy me, only makes me stronger.'\n font-size 18\n text 10,390 '60'\n font-size 60\n text 50,390 'That which does not destroy me, only makes me stronger.'\n font-size 18\n text 10,474 '72'\n font-size 72\n text 50,474 'That which does not destroy me, only makes me stronger.'\npop graphic-context" | ||
}, | ||
"tainted": false, | ||
"filesize": "116008B", | ||
"numberPixels": "384000", | ||
"pixelsPerSecond": "2.28673MB", | ||
"userTime": "0.180u", | ||
"elapsedTime": "0:01.167", | ||
"version": "ImageMagick 7.0.10-58 Q16 x86_64 2021-01-14 https://imagemagick.org" | ||
} | ||
}] |
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//to do | ||
//to make physical linking points | ||
//if all linking points are same text 'x' or 'o'; | ||
//turn the sqares black and do some animation with the text? | ||
//for each there is one points.lol | ||
//for now thats it but for the final game i want to make even a computer.**) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.