The Swiftney Game


What is the Swiftney Game?

The Swiftney Game is a puzzle game created and played frequently in IB Chemistry SL/HL, as taught by Mr. Swiftney. It is really similar to the Numbers Game from Countdown.

the inspiration for The Swiftney Game

The game is really low hanging fruit for digification so its been a common first project when trying new things




Here is how it works: You are given 6 numbers between 1-9 (the "components") and one number between 90 and 130 (the "answer"). Then, using all 6 components and the 4 basic mathematical operators (+,-,*,/) you create a math expression that equals the answer.

Components:
5 · 3 · 4 · 8 · 4 · 3

Answer:
128
An example Swiftney Game problem

Answer 1:
(8*3+4/4)*5+3
(24+1)*5+3
128

Answer 2:
(8*3*5)+(4*3)-4
120+12-4
128
Two solutions to the above problem

Web version


First web page

I made this version in early 2014 after learning the UW had free web hosting. Its poorly written but surprisingly functional


Initial version, made for the web

Android Version


First web page

I made this version in early 2017 after wanting to try making a phone app. Its also poorly written but surprisingly functional


Second version, made for Android