Games coding challenges

Practise games with 3 coding challenges, from easy to hard. Every challenge runs in your browser with instant tests, an AI review of your code and community solutions to compare.

Easy · 1 Medium · 2

Skills you'll practise: Character scanningFrequency countsLetter countingSet membershipString buildingSwapping
  • Python · C++ · C#
  • Automated tests
  • AI code review
  • Community solutions
341
Challenges
241
Solutions shared
9
Languages

All challenges

Search by name or topic, or filter by difficulty.

3 challenges
Easy

Word Scramble

Scramble words by swapping each vowel with the consonant right after it, scanning left to right.

You'll learn Character scanningSwapping
AP Computer ScienceBeginnerCS1ClassesGamesHomeworkIntro programmingOOPStudent-beginner
No solutions yet
Medium

Hidden Word Clue

Build the clue for a word guessing game: exact letters, letters in the wrong spot, and misses.

You'll learn String buildingLetter counting
AP Computer ScienceCS1ClassesGamesHomeworkIntermediateIntro programmingOOPStudent-beginner
No solutions yet
Medium

Ticket Lottery Winners

Count how many lottery tickets matched 0, 1, 2, ... of the winning numbers.

You'll learn Set membershipFrequency counts
CS1GamesHomeworkIntermediateIntro programmingStudent-beginner
No solutions yet