Skip to content

Instantly share code, notes, and snippets.

@AMiller42
Last active July 28, 2021 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AMiller42/1c85a207780dc2b3faea3f9c89ceb1b0 to your computer and use it in GitHub Desktop.
Save AMiller42/1c85a207780dc2b3faea3f9c89ceb1b0 to your computer and use it in GitHub Desktop.

I’ve come up with an idea for a new esolang, called “Naughts and Crosses”. It’s based on the naughts and crosses game, where you have the two players alternate placing a zero or an X on a grid of squares. The first player to have at least five zeroes or five Xs in a row wins. Naughts and Crosses esolang is based on this game, and adds a few twists.

The first twist is that zero and X are not the only characters allowed. Instead, the alphabet can be used, with the alphabet characters working (in this case) from A-Z. The second twist is that the rows do not need to be horizontal, and the third is that the squares can be rotated. The fourth is that the game is played by filling in the squares.

So, a valid example of a Naughts and Crosses program might look like this:

111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment