Noughts and crosses - Barclays Code Playground

Level 2 challenge

Help us finish off our noughts and crosses game - we need you to add the code to let the game know who has won. For this challenge you'll need to access the Scratch website at and search 'Noughts and crosses challenge'.

The challenge

Watch this short video to find out your next challenge. Use the Scratch website to complete the challenge and if you get stuck, check out our solution video.

Solution video

Watch this video to see one of the ways you can complete the coding challenge. You can use it to compare against your solution and also get some helpful tips if you’re stuck. 

More challenges

Higher or lower challenge

Use your coding skills to teach the game how to understand our 'higher' or 'lower' commands so the game can end. 

The board game

What’s your favourite board game? Let's bring traditional board games in to the coding world.

Any questions?

Code Playground is all about offering the support you need. If you have a question, comment or suggestion, please don’t hesitate to get in touch. We’d love to hear from you.