Sure, here's a simple text-based game inspired by the Spamton fight from Deltarune:
This is a simple game that simulates a battle between the player and Spamton. Each turn, both the player and Spamton will attack each other randomly within a certain range. The game will continue until either the player or Spamton's HP reaches 0. After the game ends, the player will be prompted to play again.
Please note that this is a very basic implementation and can be expanded upon to include more features and complexity.