| .. | ||
| game.js | ||
| index.html | ||
| questions.js | ||
| README.md | ||
| styles.css | ||
Educational Tic Tac Toe
A Tic Tac Toe game with an educational twist! Players must correctly answer questions to make their moves.
Features
- Classic Tic Tac Toe gameplay
- Educational questions that must be answered correctly to make a move
- Support for both True/False and Multiple Choice questions
- Full support for Arabic language
- Different question categories: General Knowledge, Math, Science, and Language
- Score tracking for multiple games
- Responsive design that works on all devices
How to Play
- Open
index.htmlin a web browser - Players take turns clicking on empty cells
- When a cell is clicked, a question appears
- If the player answers correctly, they get to place their mark (X or O)
- If the player answers incorrectly, their turn is skipped
- The first player to get three marks in a row (horizontally, vertically, or diagonally) wins
- If all cells are filled without a winner, the game is a draw
Game Settings
You can customize the game experience using the settings panel:
Question Type
- True/False: Simple true or false questions
- Multiple Choice: Questions with multiple options
Language
- English: Questions and interface in English
- Arabic: Questions and interface in Arabic (with RTL support)
Category
- General Knowledge: Various general knowledge questions
- Math: Mathematical questions and problems
- Science: Science-related questions
- Language: Questions about language and vocabulary
Running the Game
Simply open the index.html file in any modern web browser:
firefox index.html
or
google-chrome index.html
Customizing Questions
You can add or modify questions by editing the questions.js file. The questions are organized by:
- Language (english, arabic)
- Category (general, math, science, language)
- Type (truefalse, multiplechoice)
Browser Compatibility
This game works in all modern browsers:
- Chrome
- Firefox
- Safari
- Edge