r/coolmathgames • u/otislorenz • 22h ago
Is Mobile run the best way to experience The game?
Yeah what the title says
r/coolmathgames • u/otislorenz • 22h ago
Yeah what the title says
r/coolmathgames • u/FriendshipNervous988 • 5d ago
What do you guys think?
r/coolmathgames • u/Mental_Management_45 • 5d ago
Naoki Inaba invented Tetra Barrier using tetrominoes. Here we use the full set of twelve pentominoes, and that changes the problem considerably: it is not enough to place the pieces; you must place them so that they do not touch and, at the same time, enclose each X in its own region.
The board. An 11×11 grid with twenty or twenty-one X marks. The twelve pieces cover sixty squares; the other sixty-one remain empty. Those empty squares form regions bounded by the pieces and the edge of the board.
The rules. Place all twelve pentominoes —F, I, L, N, P, T, U, V, W, X, Y and Z— using each one exactly once. They may be rotated and reflected, but they may not touch along their edges; touching at corners is allowed. In addition, each empty region must contain exactly one X.
The key point is what counts as a region: not just any area, but a closed group of edge-adjacent squares. The boundaries are not drawn in advance: the pieces form them, sometimes with help from the edge of the board. If two X marks are connected without crossing a piece, they belong to the same region and the placement is not valid.
The goal. Each puzzle has a unique solution. A hint to get started: look for X marks that are very close together. Separating them forces you to put some wood in the narrow space between them, and that often determines the first piece.
r/coolmathgames • u/CosmicHoles • 5d ago
r/coolmathgames • u/NetherWarlock1 • 10d ago
I wanted to share this because I thought some of you might be interested in it, essentially it's a console command which creates a panel that gives you cheats (noclip, extra speed, etc). I wanted it to be just one long console command to make it easy to use. Hope you guys enjoy and feel free to tinker around with it and make something cool and new from it.
(function () {
var proto = cr.behaviors.Platform.prototype.Instance.prototype;
var rt = cr_getC2Runtime();
var setCollisions = cr.plugins_.Sprite.prototype.acts.SetCollisions;
// if i run this twice, clean up the first copy
var oldPanel = document.getElementById("mm_panel");
if (oldPanel) oldPanel.remove();
if (proto._origPosttick) proto.posttick = proto._origPosttick;
else proto._origPosttick = proto.posttick;
var realPosttick = proto._origPosttick;
var on = { jump: false, noclip: false };
var over = { speed: null, acc: null, dec: null }; // null = leave the game's value alone
var keys = { up: false, down: false };
var playerOnly = false;
// every object that has the platform behavior
function getPlatformers() {
var list = [];
rt.types_by_index.forEach(function (type) {
(type.instances || []).forEach(function (inst) {
(inst.behavior_insts || []).forEach(function (beh) {
if (typeof beh.maxspeed === "number" && beh.jumpStrength !== undefined) {
list.push({ inst: inst, beh: beh });
}
});
});
});
return list;
}
// the player is whatever uses default controls, if nothing does just grab them all
function updatePlayerOnly() {
playerOnly = getPlatformers().some(function (p) { return p.beh.defaultControls; });
}
function isPlayer(beh) {
return !playerOnly || beh.defaultControls;
}
updatePlayerOnly();
var firstOne = getPlatformers().filter(function (p) { return isPlayer(p.beh); })[0];
var defaults = {
speed: firstOne ? firstOne.beh.maxspeed : 425,
acc: firstOne ? firstOne.beh.acc : 1500,
dec: firstOne ? firstOne.beh.dec : 1500
};
// wrap the behavior's per-frame update
proto.posttick = function () {
if (!isPlayer(this)) return realPosttick.apply(this, arguments);
if (over.speed !== null) this.maxspeed = over.speed;
if (over.acc !== null) this.acc = over.acc;
if (over.dec !== null) this.dec = over.dec;
if (on.jump) {
this.enableDoubleJump = true;
// only refill the double jump once the key is let go, otherwise you just fly
if (!this.jumpkey && !this.simjump) this.doubleJumped = false;
}
if (on.noclip) {
if (this.inst.collisionsEnabled) setCollisions.call(this.inst, 0);
var savedGravity = this.g;
this.g = 0;
this.dy = 0;
this.jumpkey = false;
this.simjump = false;
var dir = (keys.up ? -1 : 0) + (keys.down ? 1 : 0);
if (dir !== 0) {
var dt = this.runtime.getDt(this.inst);
this.inst.y += dir * this.maxspeed * dt;
this.inst.set_bbox_changed();
}
var result = realPosttick.apply(this, arguments);
this.g = savedGravity;
this.dy = 0;
return result;
}
return realPosttick.apply(this, arguments);
};
// up/down tracking for noclip (arrows + w/s)
function track(e, isDown) {
var code = e.keyCode;
if (code === 38 || code === 87) keys.up = isDown;
if (code === 40 || code === 83) keys.down = isDown;
}
window.addEventListener("keydown", function (e) { track(e, true); }, true);
window.addEventListener("keyup", function (e) { track(e, false); }, true);
window.addEventListener("blur", function () { keys.up = keys.down = false; });
// ---- ui ----
var panel = document.createElement("div");
panel.id = "mm_panel";
panel.style.cssText =
"position:fixed;top:8px;left:8px;z-index:2147483647;background:rgba(0,0,0,.75);" +
"padding:8px;border-radius:8px;font:13px sans-serif;color:#fff;" +
"display:flex;flex-direction:column;gap:6px;user-select:none";
function makeButton(text, onClick) {
var el = document.createElement("button");
el.textContent = text;
el.tabIndex = -1;
el.style.cssText = "padding:5px 10px;border:0;border-radius:5px;cursor:pointer;background:#444;color:#fff";
// stops the button stealing focus from the game
el.addEventListener("mousedown", function (e) { e.preventDefault(); });
el.addEventListener("click", function () { onClick(el); el.blur(); });
return el;
}
function setToggleLook(el, name, state) {
el.textContent = name + ": " + (state ? "ON" : "OFF");
el.style.background = state ? "#2a8a3a" : "#444";
}
// one row with - / label / + / reset
function makeRow(key, prop, name, step) {
var label = document.createElement("div");
label.style.cssText = "min-width:92px;text-align:center";
function current() {
if (over[key] !== null) return over[key];
var p = getPlatformers().filter(function (q) { return isPlayer(q.beh); })[0];
return p ? p.beh[prop] : defaults[key];
}
function refresh() {
label.textContent = name + ": " + Math.round(current());
}
function change(val) {
over[key] = Math.max(0, val);
updatePlayerOnly();
refresh();
}
var row = document.createElement("div");
row.style.cssText = "display:flex;gap:4px;align-items:center";
row.appendChild(makeButton("-", function () { change(current() - step); }));
row.appendChild(label);
row.appendChild(makeButton("+", function () { change(current() + step); }));
row.appendChild(makeButton("Reset", function () { change(defaults[key]); }));
refresh();
return row;
}
panel.appendChild(makeRow("speed", "maxspeed", "Speed", 50));
panel.appendChild(makeRow("acc", "acc", "Accel", 250));
panel.appendChild(makeRow("dec", "dec", "Decel", 250));
var jumpBtn = makeButton("", function (el) {
on.jump = !on.jump;
updatePlayerOnly();
setToggleLook(el, "Infinite jump", on.jump);
});
setToggleLook(jumpBtn, "Infinite jump", false);
panel.appendChild(jumpBtn);
var noclipBtn = makeButton("", function (el) {
on.noclip = !on.noclip;
updatePlayerOnly();
if (!on.noclip) {
// turn collisions back on so you don't fall forever
getPlatformers().forEach(function (p) {
if (isPlayer(p.beh) && !p.inst.collisionsEnabled) setCollisions.call(p.inst, 1);
});
}
setToggleLook(el, "Noclip", on.noclip);
});
setToggleLook(noclipBtn, "Noclip", false);
panel.appendChild(noclipBtn);
document.body.appendChild(panel);
})();
"loaded";
r/coolmathgames • u/DeDaRM_ • 13d ago
r/coolmathgames • u/Most_Fix7751 • 14d ago
r/coolmathgames • u/nuppycheds • 15d ago
r/coolmathgames • u/ufor999 • 20d ago
Hi! First time trying to make a game by myself. In The Accountant, you’re the new junior accountant at Grim & Sons. Each client brings an account: use the figures to hit the exact balance. The catch: the office adding machine is from 1907 and works strictly left to right, so 2 + 3 × 4 really is 20. Free, no sign-up, works on mobile, English and Spanish. There’s also a Daily Account, the same three puzzles for everyone with a focus on solving them as fast as possible. Feedback very welcome, especially on difficulty.
r/coolmathgames • u/TheArtificalAI • 22d ago
r/coolmathgames • u/StrategicLab • 22d ago
Hey everyone,
I’m Yunus, a math and computer engineering student at Boğaziçi University (Turkey), and I recently launched a project called StrategicLab.
It’s a website where you can explore game theory through playable games and interactive simulations. For example, you can try different moves in Nim, change a payoff matrix and see what happens to the equilibrium, or explore how firms compete by setting prices or quantities.
The idea is to give you somewhere to ask “what if I changed this?” and actually try it. Make a prediction, run the experiment, then look at the reasoning behind the result.
There are guided learning paths if you want some structure, but you can also just pick a lab that looks interesting and mess around with it.
I used Thomas S. Ferguson’s A Course in Game Theory as a guide for the theoretical side of the project. The labs explore topics ranging from combinatorial games to bargaining and coalitions through interactive experiments.
My goal is to keep improving it over the next few years and build it into a learning resource that students and teachers around the world regularly use.
Here’s the site: strategiclab.org
I’m developing this on my own, so I’d really appreciate feedback from people learning or teaching this stuff. If you try a lab, I’d love to hear what clicks and where the explanations get confusing. Feel free to email me at [email protected] about anything related to the site, whether it’s a question, a suggestion, a bug you found, or just to chat :)
r/coolmathgames • u/Purple-Goat-1915 • 23d ago
made this account to show off items I made whilst I’m offline on socials, really proud of how this came out 😎
r/coolmathgames • u/Mental_Management_45 • 24d ago
The 8×8 grid below has a 2×2 hole in the center, leaving 60 cells to fill. Your task is to tile the board with the 12 pentominoes (F, I, L, P, N, T, U, V, W, X, Y, Z), using each piece exactly once. Pieces may be rotated and reflected.
Rules:
The 12 pentominoes must cover the entire board — every cell except the central 2×2 hole belongs to exactly one pentomino.
Each cell of the grid contains a digit from 1 to 5.
Each pentomino must cover exactly five cells whose digits are all different — in other words, every piece must cover the digits 1, 2, 3, 4, and 5, one of each.
In short: find a tiling of the board in which each pentomino covers a region containing all five digits.The NOTES grid at the bottom is meant for tracking the pieces: you can cross out each pentomino there once you're certain of its position.
Find the tiling. Solution is unique.
r/coolmathgames • u/miguelsims12 • 25d ago
Playable link: https://mathfights.app/
I created MathFights, a platform designed to bring competition into the world of mathematics, starting with its first game, Mental Math.
The idea is pretty simple: it's for anyone who thinks they're faster and better at mental math than everyone else — and wants to prove it!
The game consists of mental arithmetic problems across three difficulty levels: Standard, Intermediate, and Advanced. Matches last either 1 or 3 minutes, and whoever gets the most correct answers wins. To keep things fair, both players receive exactly the same questions in the same order.
There are several ways to play:
Ranked: Compete against other players, climb the rankings, and track your progress through the Elo rating system, leaderboards, and match history.
Practice: Play solo and improve your mental math skills at any difficulty level.
Challenge a Friend: Invite your friends to private matches, even if they don't have an account.
Ghost Battles: Challenge previous opponents by competing against their past performances.
Daily Challenge: Take on a daily challenge at your preferred difficulty level.
The goal is to make mathematics more competitive, engaging, and fun.
Any feedback is welcome.
r/coolmathgames • u/Any-Savings-475 • 25d ago
r/coolmathgames • u/prajju25 • 26d ago
I made this — happy to answer anything.
Everyone picks a number at the same time. The target is 80% of the average, and the closest pick wins the round. 5 misses and you’re out.
It sounds like maths, but it’s really about predicting everyone else: if everyone picks 50 the target is 40… so do you pick 40? Or 32, because they’ll think that too?
I’d love feedback, especially on what confused you in the first round.
r/coolmathgames • u/PualWalsh • 27d ago
I built this and launched on a domain which I have had for 20 years and never used.
Would love some feedback. I am a programmer, not a Maths expert (hence why I built it!).
It is about learning to estimate things better without always needed to use a calculator.
r/coolmathgames • u/CosmicHoles • 27d ago
r/coolmathgames • u/prajju25 • 28d ago
I made this — happy to answer anything.
Everyone picks a number at the same time. The target is 80% of the average, and the closest pick wins the round. 5 misses and you’re out.
It sounds like maths, but it’s really about predicting everyone else: if everyone picks 50 the target is 40… so do you pick 40? Or 32, because they’ll think that too?
I’d love feedback, especially on what confused you in the first round.
r/coolmathgames • u/Patient-Jacket9246 • 28d ago
r/coolmathgames • u/oboka2000 • 29d ago