Connect Four

Using the programming features given on Texas Instruments’ graphing calculator TI-84 Plus, I created this text-base connect four game.
The code is written in BASIC and can be seen below.
To transfer code to and from the graphing calculator, I used Texas Instruments’ TI Connect™ CE Software.

Controls

  • Numbers 1 to 7 put your piece accordingly
  • ‘clear’ pauses the game (for taking screenshots)

X won! O won! That game ended in a draw...


"// TI-84 Plus BASIC Code"
"// Jonathan Frech  8th of May, 2016"
"//         edited 13th of May, 2016"

Continue reading

e Generator

By using the formula \big(1 + \frac{1}{n}\big)^n for a big number n, you can approximate the mathematical constant e.

2 < e < 3


# Python 2.7.7 Code
# Jonathan Frech 23rd of October, 2015

Continue reading

Caesar Cipher

This program lets you write a short line and encrypt it using Caesar’s Cipher. It shows the two prior and next rotations, as well as the current encryption key.

Usage

  • Normal letters let you type text
  • Backspace lets you delete the last letter
  • Tab sets the encryption key to zero
  • Escape toggles if key and other rotations are shown
  • Return toggles if special characters (characters, that are not contained in the standard alphabet) are displayed
  • Up arrow rotates up (encryption key decreases)
  • Down arrow rotates down (encryption key increases)

Hello World! Kog hvs accb zobrwbu toys?  dbeeubee


# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 7th of August, 2015
#         edited 8th of August, 2015

Continue reading