Here's a simple text-based mafia game that can be implemented as a single HTML file using JavaScript:
To play the game, simply copy the above code and save it as an HTML file (e.g., `mafia_game.html`). Open the HTML file in a browser, and it will display a series of prompts and alerts for you to make choices as the mafia boss. Enjoy!