
You are a snake tasked with collecting trash as you move around a limited area. Every time you collect trash, your body grows longer, making the game more challenging as you progress. The goal is to collect as much trash as possible without crashing into walls, borders, or your own body, and without eating items that aren’t trash.
This game combines the classic mechanics of “Snake” with an environmental cleanup theme, making it a fun way to promote ecological values.
Sign up for Breshna.io. You’ll need an email-based account, or you can sign up using your Facebook or Google accounts
For the future, you will be able to edit the created games and publish them with your account.
At the moment, this platform offers to create video games. Understanding the dynamics of video games is very interesting to get started.
Breshna.io announces that they will soon launch a web3 layer that will allow users to create, share, own and monetize the games created, including the integration of NFTs.
Click on “Create New Game” in the control panel.
You will be able to observe the different templates available
Use template trail & turns
Scoring System:
Challenges and Penalties:
Include penalties for incorrect actions (e.g., losing points or restarting the level).
Timers:
Add time limits to create urgency and make the game more dynamic.
Use the Preview Mode to test your game directly on the platform.
Check for issues like:
Interaction responsiveness.
Scene transitions.
Scoring accuracy.
Once satisfied, click Publish to make your game live.
Share the game link with others or embed it in websites and social media.
Breshna has announced that it will soon be possible to monetize the games developed on its platform. Keep an eye on how this platform will evolve. To do this, you can use our Games4Green PLE proposed in this project, and you can customize your training and complement it.
Breshna provides analytics tools to track how players interact with your game. Use these insights to improve the experience.
Tips for Making an Engaging Game
Keep it Simple: Focus on clear rules and objectives.
Leverage Multimedia: Use engaging visuals, audio, and animations.
Iterate: Gather feedback from players and refine your game.
Gamify Learning: If the goal is educational, integrate quizzes, challenges, or rewards.
The game is launching from breshna server using URL:
https://breshna.io/api/games/trailsAndTurns/index.html?template_id=67630b4edf049cec8fb1b359
But you can embed it into your own web page using:
<div style=”width: 100%; height :800px; text-align: center; background-color: #23183D;”><img src=”https://breshna.io/_next/static/media/BreshnaLogo.9878047a.svg” alt=”” style=”padding: 10px;”><iframe style=”border: #23183D;margin-bottom:0px” width=”100%” height=”87%” src=”https://breshna.io/api/games/trailsAndTurns/index.html?template_id=67630b4edf049cec8fb1b359″ title=”description”></iframe><div style=”background-color: #23183D;padding: 15px;”><h3 style=”background-color: #23183D; margin: 0px; color :white; font-family:sans-serif;”>This game was created on Breshna.io.</h3><div style=”background-color: #23183D;padding: 10px;”><h3 style=”margin: 0px; color :white;font-family:sans-serif;”>Click here to create yours</h3><div style=”margin-top: 20px;”><a href=”https://breshna.io” style=”padding: 9px 27px;border-radius: 8px;background-color: #7b3fd5;font-size: 1.5rem;font-weight: 600;margin-bottom: 20px;text-transform: capitalize!important;font-family: sans-serif;margin-top: 10px;text-decoration: none;color: #fff;”>Create</a></div></div></div></div>
A sample of page with embedded code can be this HTML:
<!DOCTYPE html>
<html>
<head>
<style type=”text/css”>
* {
padding: 0;
margin: 0;
}
#footer {
position: fixed;
bottom: 0;
width: 100%;
background: #222;
color: #fff;
text-align: center;
padding: 10px 0;
}
#footer img {
height: 50px;
vertical-align: middle;
margin-right: 10px;
}
html, body {
background: #000;
color: #fff;
overflow-y: auto;
touch-action: none;
-ms-touch-action: none;
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
}
#c2canvasdiv {
flex: 1; /* Deja que el canvas ocupe el espacio restante */
display: flex;
justify-content: center;
align-items: center;
}
canvas {
max-width: 100%;
max-height: calc(100vh – 60px); /* Resta el tamaño del footer */
}
</style>
</head>
<body>
<div style=”width: 100%; height :800px; text-align: center; background-color: #23183D;”><img src=”https://breshna.io/_next/static/media/BreshnaLogo.9878047a.svg” alt=”” style=”padding: 10px;”><iframe style=”border: #23183D;margin-bottom:0px” width=”100%” height=”87%” src=”https://breshna.io/api/games/trailsAndTurns/index.html?template_id=67630b4edf049cec8fb1b359″ title=”description”></iframe><div style=”background-color: #23183D;padding: 15px;”><h3 style=”background-color: #23183D; margin: 0px; color :white; font-family:sans-serif;”>This game was created on Breshna.io.</h3><div style=”background-color: #23183D;padding: 10px;”><h3 style=”margin: 0px; color :white;font-family:sans-serif;”>Click here to create yours</h3><div style=”margin-top: 20px;”><a href=”https://breshna.io” style=”padding: 9px 27px;border-radius: 8px;background-color: #7b3fd5;font-size: 1.5rem;font-weight: 600;margin-bottom: 20px;text-transform: capitalize!important;font-family: sans-serif;margin-top: 10px;text-decoration: none;color: #fff;”>Create</a></div></div></div></div>
<div id=”footer”>
<table>
<tr>
<td><img src=”images/logo.png” alt=”Logo”></td>
<td><span>Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Education and Culture Executive Agency (EACEA). Neither the European Union nor EACEA can be held responsible for them.</span></td>
</tr>
</table>
</div>
</body>
</html>