Click/tap here to expand/collapse the project logo section
Click/tap here to expand/collapse the title section
๐ฆ๏ธ๐
พ๏ธโ๏ธ๐๏ธ The official documentation source repository for Twit-Tac-Toe.
Click/tap here to expand/collapse the additional documentation section
Click/tap here to expand/collapse the unused/extra assets section
There are some non-required assets that can be used in the game:
For those who enable background images in the game, 3 default images are included (you can add more if needed)
Click/tap here to expand/collapse the challenges section
Here are some challenges that you can do with friends/people nearby (as a party game/dispute resolution process)
Click/tap here to expand/collapse the X challenge section
Get 2 players, one of them has to think that Twitter should be called X (they will control the X logo) and one of them has to think Twitter should be Twitter (they will control the Twitter logo) play 3 times (draws don't count towards the final goal) whoever gets 2 or more wins is the victor in the argument for the next 24 hours.
Click/tap here to expand/collapse the settings section
The game has some built-in settings. For example, you can change the wallpaper/make it change wallpapers after each round, change the player logos, add a time limit, keep/manage scores, and set usernames.
Click/tap here to expand/collapse the built-in background images section
If wallpaperOn
equals true
and wallpaperTransitions
is equal to true
you will be able to see 3 different wallpapers upon each game ending. If you change backgroundNumLimit
to 4 or higher, the game will look for additional wallpapers. If they are not found, it will default to the first one. If you set the value to 1, wallpapers will never transition. If you set the value to 0 or lower, the game will load the background as solid black (or white, depending on your system theme of dark or light) changing BackgroundNum
will change the background, although the game will do this on its own.
- [Twitter1]
- [Twitter2]
- [Twitter3]
Click/tap here to expand/collapse the about page section
The about page currently can only be called in the console while the about page is active by typing A
or ABOUT
it will run at the start of launching the program, but has not yet been programmed to run outside of this.
Click/tap here to expand/collapse the game status section
The game operates with a string called game
which always has one of these 6 values:
new
- This is the start of a new game.ongoing
- The current game is ongoingX Won
- Player 2 (X) won by getting 3 in a row.O Won
- Player 1 (O) won by getting 3 in a row.draw
- The game ended in a drawended
- The current game ended, and is waiting for the program to start a new game, or terminate the game session
Click/tap here to expand/collapse the default players section
The game has 2 default players, which can be altered (currently only through simple source code modification) the 2 default players are:
X
(1) -Musk
O
(2) -Twitter
Click/tap here to expand/collapse the other languages section
I will test this game in other programming languages in the future when it is deemed necessary.
Click/tap here to expand/collapse the programming goals section
The goal is to have the program written in 140 lines or less. This number is in reference to the previous Twitter character limit. It should be less than 100, I will optimize it further as I go.
Click/tap here to expand/collapse the file info section
File version: 2 (2023, Friday, July 28th at 2:35 pm PST)
File type: Markdown (*.md *.mkd *.mdown *.markdown)
Line count (including blank lines and compiler line): 235
Current article language: English (EN_USA)
/ Markdown (CommonMark)
/ HTML5 (HyperText Markup Language 5.3)
Encoding: UTF-8 (Emoji 12.0 or higher recommended)
All times are UTC-7 (PDT/Pacific Time) (Please also account for DST (Daylight Savings Time) for older/newer entries up until it is abolished/no longer followed)
Note On 2022, Sunday, March 13th at 2:00 am PST, the time jumped ahead 1 hour to 3:00 am.
Note You may need special rendering support for the
<details>
HTML tag being used in this document
Click/tap here to expand/collapse the file history section
Version 1 (2023, Thursday, July 27th at 7:18 pm PST
Note This file was written a day before it was published.
Changes:
- Started the file
- Added the title section
- Added the
Additional documentation
section - Added the
Unused/extra assets
section - Added the
Challenges
section -
- Added the
X Challenge
subsection
- Added the
- Added the
Settings
section -
- Added the
Built-in background images
subsection
- Added the
- Added the
About page
section - Added the
Game status
section - Added the
Other languages
section - Added the
Programming goals
section - Added the
File info
section - No other changes in version 1
Version 2 (2023, Friday, July 28th at 2:35 pm PST
Changes:
- Converted all sections into dropdown sections
- Updated the title section
-
- Referenced the new project logo
- Added the
Default players
section - Updated the
File info
section - Added the
File history
section -
- Added an entry for version 1
-
- Added an entry for version 2
- Added the footer
- No other changes in version 2
Click/tap here to expand/collapse the footer section
You have reached the end of this page.