Skip to content

Mathematical Base Defenders: Solve math problems as quickly as possible to kill as many enemies as possible!

License

mathematicalbasedefenders/play.mathematicalbasedefenders.com

play.mathematicalbasedefenders.com

CodeFactor Registered Players Count

Mathematical Base Defenders is a multiplayer math game where the objective is simple: solve problems on the enemies to kill them.

This is the source code of the play subdomain, where the actual game content is located.

Basic Gameplay

Here is an excerpt from https://mathematicalbasedefenders.com/about, which mistertfy64 believes gives the basic idea of the game well:

Enemies will fall from the top to your "base".

Each enemy has text which is either an integer, an addition math problem, a subtraction math problem, a multiplication math problem, or a division math problem

The main objective of Mathematical Base Defenders is to type the number on the enemies or solve the math problems on the enemies to kill them before the enemies come and reach your "base" (the line).

If an enemy's text is an integer (not a math problem), you must type the integer and submit it as your answer.

If an enemy's text is a math problem, you must solve the math problem, then type the answer to the math problem, then submit it as your answer.

Also see the Screenshots section to get a better idea.

Features

  • Multiple game modes:
    • Standard Singleplayer
    • Easy Singleplayer
    • Custom Singleplayer
    • Default Multiplayer
    • Custom Multiplayer
  • Account System
  • Leaderboards
  • Customizable Game Client
    • Able to set width of enemies
    • Able to set what symbol to use for the multiplication sign
  • Replays

Screenshots

These screenshots are from Game Version 0.4.3.

A screenshot of a Standard Singleplayer game.

A screenshot of the main menu.

Contributing

If you instead want to contribute to the official server, feel free to open an issue/pull request!

License

AGPLv3, however earlier commits (before f1730aed53a939a520a6acfecde6f641e06a215d) used a different license, because of mistertfy64's lack of knowledge and indecisiveness. See the LICENSE file for details.

Usage on Other Servers

Because this is open-source, you are free to use it on your own servers/domains. Feel free to modify the (horrible) source code, add your own modifications, and share!

However, please note that while this only covers the play subdomain, meaning if you want to have accounts on your own servers, you might have to hardcode it.

Note: As of May 29, 2024, this source code has been exclusively made for Mathematical Base Defenders's official server (e.g. hardcoded strings that only work with the official server) and localhost. So if you are planning to use this in your own server (or domain), it might not work (You can still run it on localhost, this doesn't mean you can't run it on a different domain, you can, you just have to find the hardcoded strings). This will be fixed sometime later. Please contact mistertfy64 if you need help setting up your own instance.

You can always contact me (mistertfy64) if you want assistance in helping setting up your own instance of Mathematical Base Defenders.

Finally, please note that if the Game Master decides to do something stupid (e.g. host a 2x exp event), it will only be on the official server. Likewise, if you want to host your own event, it will only be on your server.

About

Mathematical Base Defenders: Solve math problems as quickly as possible to kill as many enemies as possible!

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •