MariOCaml

screenshot of MariOCaml

HTML 5 canvas implementation of Mario written in Ocaml

Overview

MariOCaml breathes new life into the classic Super Mario Bros experience through an innovative web-based implementation. Developed in OCaml, this platformer brings the nostalgic gameplay to modern browsers, complete with dynamic visuals and mechanics that fans of the original game will appreciate. The game features a unique blend of procedural level generation that ensures each playthrough offers something new, keeping the excitement alive for both veteran gamers and newcomers alike.

Not only does MariOCaml capture the essence of Super Mario Bros, but it also allows players to enjoy interactive gameplay directly from their web browser. With its extensible structure, the game is built to evolve, promising a fun experience that expands as it embraces community input and contributions.

Features

  • 2D Platformer Gameplay: Emulates the classic mechanics of Super Mario Bros, providing a familiar yet fresh gaming experience.
  • Web-Based Playable Implementation: Runs smoothly in modern web browsers thanks to OCaml transpiled to JavaScript, making it easily accessible.
  • Procedural Level Generator: Randomly creates levels that vary with each playthrough, ensuring no two games are ever the same.
  • Extensible Enemy and Item Design: Features easily modifiable enemy behaviors and item functionalities, allowing for future updates and creativity.
  • Interactive Game Elements: Includes blocks, items, and enemies, providing an engaging environment filled with challenges and surprises.
  • Game State Management: Emulates game-over and game-win conditions alongside score and coin tracking, closely mirroring the original game’s mechanics.
  • Clean Modular Architecture: Designed for ease of updates and feature additions, which enhances the long-term playability of the game.
  • Visual Representation and Effects: Includes particle effects and visually distinct sprites, enriching the overall aesthetic and experience of the game.