Logo Lanfrica

panasheMuriro/ShonaPlay

Domaine:

natural language processing

Type de record:

software
Créateur:
pan
Hôte:
🇿🇼 🎮 ShonaPlay is a game development environment that uses Shona language keywords(Shonascript) to make coding more accessible to Shona speakers. # 🎮 ShonaPlay **Learn programming in a fun way through game development using Shona language keywords (Shonascript)** 🇿🇼 **Try it here: shonaplay.pages.dev --- ## 🌟 Overview ShonaPlay is a game development environment that uses **Shona language keywords(Shonascript)** to make coding more accessible to Shona speakers. It compiles to JavaScript/Phaser.js, allowing beginners to create real browser-based games while learning programming concepts in their native language. ### Screenshots ### Example Games ### ✨ Features - 📝 **Native Language Programming** - Code using Shona keywords mixed with English - 🎮 **Real Game Development** - Creates actual playable games using Phaser.js - 🎨 **Visual Editor** - Built-in Monaco-based code editor with syntax highlighting - 🏃 **Live Preview** - See your game running instantly in the browser - 🎯 **Physics Engine** - Built-in physics, collisions, and game mechanics - 📚 **Rich Examples** - Pre-built games to learn from (Pong, Flappy Bird, etc.) - 🔧 **Modern JavaScript** - Compiles to clean, performant JavaScript code ## 🚀 Quick Start ### Installation ```bash # Clone the repository git clone github.com cd shonaplay # Install dependencies npm install # Start the development server npm run dev ``` ### Your First Game ```shonaplay # Mutambo wangu wekutanga - My first game game demo ine width=600 ine height=400 ine color="blue" # Gadzira mutambi - Create player rectangle player pa (300,200) ine (40,40) ane color="green" # Fambisa mutambi - Move player kana keyboard left akabayiwa dzokorora: fambisa player left ne 5 kana keyboard right akabayiwa dzokorora: fambisa player right ne 5 ``` ## 📖 Documentation ### Basic Syntax #### Creating Game Objects ```shonaplay # Rectangle rectangle box pa (x,y) ine (width,height) ane color="red" # Circle circle ball pa (x,y) ine radius=25 ane color="blue" # Text text score pa (100,50) yakanzi "Points: 0" an …