The quickest way to see and try the examples is from the project mode terminal interface.
$$$ catalog
OR
$$$ cat
will print a list of available examples.
The first three letters (inside the square brackets) is the Canvas type being used by the example. After that is the project name.
When you see a project you want to try:
$$$ run <project name>
will run the project.
For example, if you want to try the snake game project listed as
[grd] snake
at the $$$ prompt type:
run snake
and press [Enter]
Click on the name of the example to run it!
Uses the Turtle Canvas to plot algebraic equations. Operates in either rectangular (Cartesian) (x-y) coordinates, or a polar (r-θ) coordinates.
See the eqXr (rectangular) and eqXp (polar) functions for examples. Write your own functions, and plot them using the show(<eq>) function.
Some CodeJo sound experiments. This example includes an onscreen musical keyboard that you can play using your computer keyboard.
Hold down the [Shift] key to activate the adjustment panel. Keep holding and press the indicated keys to make changes.
Like Tetris, except the blocks always fall toward the center of the screen.
W, A, S, D keys will steer the blocks up, left, down, and right.
Q and E will rotate the block counter-clockwise and clockwise.
[Spacebar] will drop the block in the direction it is falling. Make sure you hit something in the middle!
The numbers in the upper left corner indicate the current score, and the highest score ever achieved.
This is a program to help learn and understand the cards that come with the boardgame Codenames: Duet.
See, we were playing once, and we were sitting at the table at a weird angle, and so I had the cards standing up on end instead of the normal wide-way. I realized about halfway through the game that it was probably messing up the distribution of agents, assassins, and bystanders, but I wasn't sure.
Now we know. It was definitely messing things up. Play the normal way!
Although, if you want to play with the cards the long way, there is a method included for generating new cards in either format. (Press R when your in the format you want to use). The cards are not quite right (it allows assassins to be right next to each other for one thing) but with a bit of work it could be useful!
This is my implementation of the World War II-era Enigma Machine encryption.
Type in your message, and you can watch how the signal travels through the "rotors" (the vertical columns of letters) to generate the cyphertext.
Send secret messages to your friends! (As long as you don't mind Alan Turing -- or pretty much anyone at this point -- decrypting them!)
Ultima was one of my favorite games when growing up. I knew I wanted CodeJo to be able to handle full-canvas scrolling like this, and this example tests those capabilities.
Implements the "knight move" algorithms explored on Numberphile and Numberphile2.
All of the different pieces from the video are available, plus a few extras, plus an easy way to create your own pieces.
Try random_set() or runner() or runner('AnBxD')
Also, crank up the resolution with hgr() or xgr()
Conway's Game of Life.
run() to click out a pattern on the left, then press [Enter] to start it running.
petri() will start a randomized pattern.
dishes() will set up a selection of petri patterns.
I started this one to teach myself Morse Code. Rough, and not very far along yet.
Might want to turn your sound down a bit.
The Document Canvas scratchpad. If you're not already in doc mode, you can also get here with the doc() command.
The Fabric Canvas scratchpad. If you're not already in fab mode, you can also get here with the fab() command.
The Grid Canvas scratchpad. If you're not already in grd mode, you can also get here with the grd() command.
The Turtle Canvas scratchpad. If you're not already in trt mode, you can also get here with the trt() command.
The Web Canvas scratchpad. If you're not already in web mode, you can also get here with the web() command.
Looks like asteroids. Plays like asteroids. Probably should have called this one asteroids.
One of those puzzles with the sliding pieces where they're all shuffled up and one is missing. Slide the pieces around until they're back in the proper order.
The first CodeJo example ever created! The classic snake game.
Plenty of room here for improvements if you want to try out your coding skills!
Another classic sliding-piece puzzle game. In this one you can only move the red boxes by pushing them with the green circle. Push all of the red boxes onto blue boxes to complete a level.
This version also implements the drag-and-drop shortcut for advanced players. A piece can be moved to any possible destination, as long as it can legally be moved there without needing to move any other pieces. Try it!
Tests for the Fabric Canvas. These tests should run properly before any release!
This project also houses the "swatcher" if you want to see named colors and color families, as well as speedtest4 and some simple mouse and animation examples.
Tests for the Grid Canvas. These tests should run properly before any release!
This project has speedtest and speedtest2, to see how your system is performing running CodeJo, as well as some simple examples using the mouse and some Grid-specific features like copying and moving large sections of the canvas.
Tests for the Web Canvas. These tests should run properly before any release!
This project has speedtest3, as well as a simple mouse example.
The Web Canvas is probably the least complete of the canvases included with CodeJo.