Cognitive Class

Learn JavaScript Logic by Building Rock Paper Scissors — Free Project

Build a small browser game to practise JavaScript decisions and user interaction. Translate the game's rules into code and check how the program handles each possible outcome.

Learn JavaScript Logic by Building Rock Paper Scissors — free guided project on Coursya

Build a small browser game to practise JavaScript decisions and user interaction. Translate the game's rules into code and check how the program handles each possible outcome.

This is a focused guided project from Cognitive Class, provided by IBM Skills Network. It is designed around a practical task rather than a complete course syllabus.

What you will practise

  • Conditional logic.
  • Game rules.
  • Browser interaction.

Use the guided implementation to connect conditional logic with game rules and browser interaction. Keep the inputs, configuration and resulting output together so you can explain how the workflow behaves.

Before you begin

Useful preparation includes JavaScript, HTML and web page structure. Create or sign in to a Cognitive Class account to open the guided material. Follow the current setup instructions inside the provider’s lab. Use a current browser and allow time for setup and troubleshooting in addition to the listed effort.

Make it a useful portfolio example

Coursya’s suggested practice: Test every player and computer combination, including draws, and confirm that each result follows the same rules.

After completing the guided steps, add a short README describing the problem, tools, setup and observed result. Include one limitation and one example that did not behave as expected. If you share the work, follow the provider’s and dataset’s reuse terms and leave account keys and private data out of the project files.

Access and completion

The official page offers free enrollment and free learning content. A provider account is required. Separate cloud hosting, external API accounts or use beyond included allowances can have their own charges; check the lab instructions before enabling an independent paid service.

Provider-listed effort: 45 Minutes. Listed level: Beginner. Language: English. The effort is an estimate, not a deadline; your setup and experiments may take longer.

The public provider page lists no certificate for this project. The main outcome is practical experience and the work you produce.

The official listing is titled “Fundamentals of Javascript through rock-paper-scissors”.

Enroll Now ↗

Continue learning on Coursya

Explore more free guided projects or browse taught courses.

Frequently asked questions

Is this a free project?

Yes, the official page offers free enrollment and learning content. Read Access and completion above for this project’s account requirements and any separate API, hosting or usage-limit conditions.

What will I practise in this project?

The focus is conditional logic, game rules and browser interaction. The guided material focuses on a concrete implementation that you can inspect and extend.

How long does it take, and what should I know first?

The provider lists 45 Minutes at beginner level. Review Before you begin above for preparation and browser requirements. Allow extra time for setup and your own experiments.

Does this project include a certificate?

The public provider page lists no certificate for this project. The main outcome is practical experience and the work you produce.

How can I check my work after the guided steps?

Test every player and computer combination, including draws, and confirm that each result follows the same rules. This is a Coursya practice suggestion, not an additional provider assessment or credential requirement.

Main instruction language: English. English guided project; official public page checked on 27 November 2026.

Share this course

Questions & discussion

Share a useful question or correction. Comments appear after moderation. Please avoid personal or sensitive information.

Add to the discussion

Keep comments relevant and respectful. Spam, adult content, and adult-site names or links are not allowed. All visitor comments are reviewed before publication.

Your email address will not be published. Required fields are marked *