TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A playable XCOM game in Excel

49 pointsby OopsCriticalityover 9 years ago

4 comments

CWuestefeldover 9 years ago
About 25 years ago I did QA on the spreadsheet module of now-defunct office software maker Enable. On a lark, each of us on the spreadsheet testing team implemented a different casino game using spreadsheet macros. This was the old macro system similar to Lotus 1-2-3, with &quot;&#x2F;&quot; invoking the menu and then using letters representing the hotkeys for each menu command, etc.<p>I took on blackjack, and built a whole Vegas-style game including insurance, doubling down, a configurable number of decks, etc. I was pretty proud of that, what with the self-imposed constraints. But that seems to be small beans compared to this project.<p>The number of bugs that we uncovered during this effort was pretty substantial. For example, we discovered that the PRNG implementation was a lot more P than it was R. We found that when the guy who&#x27;d written the craps game set it up to play automatically overnight, based on some simple heuristics. When we came back the next morning, his robo-player was rich, and we all know that&#x27;s not supposed to happen in a casino. We re-ran the same test the next night, with the same result. It turned out that a quirk had rolls of 11 coming up more often than they should, which is a real problem for craps.<p>Anyway, trying to implement something non-trivial with self-imposed constraints sure isn&#x27;t the most efficient way to accomplish the task, but it&#x27;s a great way to stretch your understanding of a platform.
Romanulusover 9 years ago
I&#x27;ll stick to Dwarf Fortress...
em3rgent0rdrover 9 years ago
with GPU-accelerated spreadsheets (google: AMD LibreOffice Calc) it would be interesting to see more games use the spreadsheet as the engine for games with massively-complex 2D worlds with easily parallizable local interactions.
alvernover 9 years ago
Is this written in VBA?
评论 #10672240 未加载