Jaixi Pan, Sam Kingston, Leanna Barwick
Based on the book “Fencing”, Fencing Club is a 1-3 player online game, built using p5.js and Pubnub. Players practice fencing technique, competing to improve speed, accuracy and sword handling skills.
Gameplay is viewed on a shared screen. Phones are used as real fencing foils. Optional “foil handle” phone holder accessory can be fabricated using the downloadable 3D printing file.
Players start and learn fencing moves on the welcome page; en garde (accesses phone’s gyroscope, scores how the phone is angled in stillness), lunge (accesses phone’s accelerometer, scores how fast the phone is thrust outwards), and parry (accesses phone’s accelerometer, scores how fast the phone is withdrawn towards the body). Foils for mobile devices and the game area are also accessed here.
Entering the game area, a ten second countdown starts. When the timer completes, one fencing movement appears in green (the other two in red), a new four second timer starts, and players perform the green highlighted movement, receiving a real-time score based on their performance. This repeats in a succession of five rounds of randomly selected movements, after which the game is over, and the winner is displayed, based on who has the highest total score.
Prototype for game area
3D printed fencing foil handle phone holder accessory
fencing foil handle phone holder accessory
Mobile phone navigated to Player 1 fencing foil
En Garde! title screen
Game area screen
Links to Code
Links to Working Files