Skip to content

A platform hosting browser-compatible games developed with C++ and Raylib, compiled to WebAssembly for seamless performance. Designed for both desktop and mobile users, it features an intuitive interface, secure hosting, and easy navigation.

License

Notifications You must be signed in to change notification settings

GhimirePlan/Web_Based_games-using-Raylib-and-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Based Game Platform

A responsive, browser-compatible platform for hosting and playing games developed using C++ and Raylib. The platform provides seamless access to multiple games, offering an engaging experience for users on both desktop and mobile devices.


Features

  • 🎮 Multiple Games: A collection of fun and interactive games developed with C++ and Raylib.
  • 🌐 Web-Compatible: Games are compiled to WebAssembly (Wasm) for browser accessibility.
  • 📱 Cross-Platform Support: Playable on both desktop and mobile devices.
  • 💻 User-Friendly Interface: Responsive and intuitive design with easy navigation.
  • 🔐 Secure Hosting: Hosted using GitHub Pages with Cloudflare CDN and SSL support.

Tools and Technologies

  • Programming Language: C++
  • Game Development Library: Raylib
  • Web Integration Tool: Emscripten
  • Frontend Technologies: HTML, CSS, JavaScript
  • Version Control: Git and GitHub
  • Hosting and Security:
    • GitHub Pages
    • Cloudflare (Domain Management, CDN, SSL)

Project Workflow

1. Game Development

  • Created games using C++ with the Raylib library for efficient handling of graphics, input, and sound.
  • Employed Object-Oriented Programming (OOP) principles for modularity and reusability.
  • Conducted rigorous testing to ensure smooth gameplay and bug-free functionality.

2. Web Platform Integration

  • Compiled games to WebAssembly using Emscripten for high-performance browser execution.
  • Designed interactive web pages with HTML, CSS, and JavaScript for seamless integration and responsiveness.

3. Deployment

  • Hosted the website on GitHub Pages for easy updates and maintenance.
  • Used Cloudflare for improved performance, security, and custom domain management.

How to Access

  1. Visit the platform using the custom domain: https://games.plan.com.np
  2. Browse the available games on the home page.
  3. Select a game to view its description and start playing directly in your browser.

Contributing

We welcome contributions! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-branch-name
  3. Commit your changes: git commit -m 'Add new feature'
  4. Push to the branch: git push origin feature-branch-name
  5. Open a pull request.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute this software as per the license terms.


Acknowledgments

  • Raylib for its powerful and beginner-friendly game development tools.
  • Emscripten for enabling browser compatibility with WebAssembly.
  • GitHub Pages and Cloudflare for hosting and enhancing the web platform.

Contact

For questions, feedback, or support, feel free to reach out:

About

A platform hosting browser-compatible games developed with C++ and Raylib, compiled to WebAssembly for seamless performance. Designed for both desktop and mobile users, it features an intuitive interface, secure hosting, and easy navigation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published