Python Minigames

Slap you own this product

This project is part of the liveProject series Python Minigames
basic Python • object-oriented programming
skills learned
algorithmic design • software design • event listening • error handling • assertions • exceptions • modularizing code • debugging • pynput
Jaya Moore
1 week · 6-8 hours per week · INTERMEDIATE
filed under

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series Python Minigames liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save $10 (33%)
Slap (liveProject) added to cart
continue shopping
adding to cart

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free eBook every time you renew
  • choose twelve free eBooks per year
  • exclusive 50% discount on all purchases
  • Slap eBook for free
Look inside

In this liveProject, you’ll build a two-player version of the card game Slap that can be played from the command line. To code this game, you’ll use algorithms, object-oriented programming concepts, and event listeners. You’ll gain hands-on experience importing modules, creating classes, defining methods, and using other principles of object-oriented programming.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Jaya Moore
Jaya Moore is a developer enablement professional with a specialization in developer education. She has extensive experience serving organizations across the world as a technical writer, web developer, and data scientist. She has been learning and writing about Python for over six years.


The liveProject is for intermediate-level Python practitioners who are familiar with the basics of Python syntax; strings and character data; object-oriented programming; error handling and debugging; control flow; and basic software design. To begin this liveProject, you will need to be comfortable with the following:

  • Basic Python
  • Operating on strings, files, data structures
  • Object-oriented programming
  • Control flow and conditional logic
  • Installing and importing Python modules
  • Running a Python script from the command line
  • Handling errors and debugging code

you will learn

In this liveProject, you’ll write a simple command-line game that will allow two players to simulate actions using keypresses. The skills you’ll learn throughout this project will be directly applicable to your job as a software developer.

  • Algorithmic design
  • Pseudocode
  • Event listening
  • User input
  • Assertions
  • Exceptions
  • Modularizing code


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.