Inspiration

Learning to code takes a lot of practice, and practicing alone gets boring fast. Games are something people want to keep playing, so we turned the practice into the game. In SnakQuest, every attack is a Python question. Get it right and you hit. Get it wrong and the enemy hits you. It's made for beginners who are learning Python.

What it does

SnakQuest is a Pokémon-style adventure set on a college campus, where you're trying out for an internship.

  • Pick a partner: Ember (fire), Ripple (water) or Sprout (grass).
  • Explore campus: a "NEXT" box and a yellow arrow show you which building to go to. After each win, the advisor walks up to you and tells you where the next round is.
  • Battle with Python: every turn you choose Easy, Medium or Hard and answer a multiple-choice Python question.
    • A right answer does 10, 15 or 20 damage, depending on the level you chose.
    • A wrong answer means the enemy hits you, and the game shows you the right answer so you learn from it.
    • Types matter: fire beats grass, grass beats water, water beats fire.
  • Catch what you beat: throw a SnakBall after a win. Anything you catch joins your team.
  • Beat the President: in the final fight, the President's dragon changes type every turn, so you have to switch Pokémon to keep the advantage.
  • 42 questions (14 easy, 14 medium, 14 hard), with shuffled choices and no repeats of a question you just saw.

Here's a real question from the game:

# What prints?
print([1, 2] + [3])

The answer is [1, 2, 3], because adding two lists joins them.

How we built it

  • Engine: Unity 6 with C#. The game is split into scenes for the main menu, the campus map, battles, and the win and lose screens.
  • Questions: all of them live in one JSON file, so anyone on the team could add a question without touching the code. A loader picks one at random by difficulty.
  • Battles: a battle manager runs each fight (turns, damage, type bonuses, catching, and switching in the boss fight). A separate HUD script handles the HP bars, messages, attack animations and sounds.
  • Between scenes: a shared game-state script remembers your starter, which rounds you've won, what you caught, and where to put you back on the map.
  • Art and sound: we drew the characters, Pokémon, buildings, backgrounds and UI ourselves in pixel art. Music, sound effects and map tiles are from free packs (credited below).

Team

  • Shealyn – project lead
  • Nora – gameplay programming
  • Karen – systems and UI
  • Alanys – art, audio and level design

Challenges we ran into

  • Playtesters kept getting lost. They didn't know where the first fight was. We added the NEXT box, the guide arrow, and the advisor walking over after each round.
  • Getting stuck on the map. Hidden walls on plain grass blocked paths and even the boardwalk. We found and removed them, so trees and water still block you but small grass and flowers don't.
  • Choppy movement. Pressing a new direction while holding another didn't always turn you. Now the most recent key wins.
  • Balancing the fights. Players who picked Easy got stuck on Easy and barely did any damage. Now you pick a difficulty every turn, and the damage numbers are higher.
  • Fitting code into pixel-art buttons, and keeping the text lined up inside the boxes.
  • Merging everyone's work in git without breaking each other's scenes.

Accomplishments that we're proud of

  • A complete game you can play from start to finish: starter pick, three rounds, catching, a boss fight with team switching, and win and lose screens.
  • Almost all of the art is our own.
  • The learning is part of the gameplay: every wrong answer shows you the right one.

What we learned

  • How to organize a Unity project with scenes, prefabs and data files.
  • How to split work across a team and use git without overwriting each other.
  • Playtesting matters. Our biggest improvements came straight from watching other people play.

What's next for SnakQuest

  • More languages: the question format was built so we can add more than Python.
  • More questions and more fights.
  • A Mac version.

Credits

  • Music: "Cute and Silly RPG Music Pack" by chajamakesmusic (CC BY 4.0)
  • Sound effects: AmbroggioMusic, Leohpaz, TheAmbientFort, ToshaAngel
  • Map tiles: Pixel Art Forest Asset Pack by zedpxl
  • Font: Silkscreen by Jason Kottke

Built With

Share this project:

Updates

Submission history