Created by accident, all who find you would destroy you. Can you escape?
Endgame: Singularity is a simulation of a true AI. Go from computer to computer, pursued by the entire world. Keep hidden, and you might have a chance.
Originally created for the Pyweek competition, this version features many bugfixes and enhancements, including selectable difficulties and a soundtrack.
License: free
Requirements: python, pygame, numpy
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | no | yes |
Submitted by evilmrhenry on 2005-09-14.

And waht ist the License? GPL ?
thx
TOD
Traceback (most recent call last): File "singularity.py", line 82, in ? game_action = map_screen.map_loop() File "/data/home/hir/games/singularity-0.20/code/map_screen.py", line 314, inmap_loop display_base_list(button.button_id, menu_buttons) File "/data/home/hir/games/singularity-0.20/code/map_screen.py", line 389, indisplay_base_list tmp = display_base_list_inner(location) File "/data/home/hir/games/singularity-0.20/code/map_screen.py", line 540, indisplay_base_list_inner base_pos, temp_base_list) File "/data/home/hir/games/singularity-0.20/code/listbox.py", line 90, in refresh_list list_array[(list_pos/listbox.viewable_items)* File "/data/home/hir/games/singularity-0.20/code/listbox.py", line 73, in refresh_listbox g.print_string(g.screen, lines_array[i*self.lines_per_item + j], IndexError: list index out of rangeMyLink but the developer has stopped develop.
Well, in my opinion it does resembles an obscure early MS-DOS game I found on an abandonware site, Floor 13, about the Boss of a very hush-hush British secret service. There too, you had to maintain a balance between effectiveness and discretion. If anything, Singularity is Floor 13 in the fast lane. Less bells and whistles but a much more dramatic development.
In terms of interface, I'd like an easier way to have an overview on how all my computers are faring (activity, performance, costs) also allowing me easy access to each machine for micro-management.
A very drastic idea not only in terms of graphics but of the entire game concept, would be to replace the physical world - and the map - with the virtual world of the Internet and a network diagram. CPU power could be rented (Internet servers) or hacked. The computer could set up LANs, WANs, clusters, etc. That would allow - possibly - a more logical representation of the machine realm.
I also have a number of questions. I went bankrupt a number of times but the game went on with negative numbers between the brackets and always postive outside it. What is the rationale?
Also, when a location is under construction (computer time is being "stolen") you should not be able to access its inteface, yet this is still possible by cycling through the resources on the same continet. This seems to be particularly useful for stolen time. Is this a bug or a feature?
Do continents play any role in the risk of discovery? Without giving spoilers away, what kind?
Anyway this is a great game, but with a major flaw: last night it made me skip sleep, and that was probably not be the last time.
I also have a number of questions. I went bankrupt a number of times but the game went on with negative numbers between the brackets and always postive outside it. What is the rationale?
The bracket number is the amount of money you will have after all construction is finished. It is basically made to stop you from overspending too much, and has no gameplay effects.
Also, when a location is under construction (computer time is being "stolen") you should not be able to access its inteface, yet this is still possible by cycling through the resources on the same continet. This seems to be particularly useful for stolen time. Is this a bug or a feature?
It's a bug, and one I fixed already. Upgrading should fix that bug, a few others, and add a few new cool features. (Unless you already are running 0.23 or 0.23a, in which case I want more information.)
Do continents play any role in the risk of discovery? Without giving spoilers away, what kind?
Nope. They were, but I ran out of time in the pyweek competetion. However, one of the planned improvements for 0.24 is just this.
If only the interface was a little bit more straightforward...
Great start =). Needs some work, though. The interface could use some improvement, as someone else mentioned below. Also, the chances of detection seems rather high even for the least detectable bases... (possible spoiler, so I'll secret it -- highlight the white box to read):
A covert base with fusion reactor and hypnosis field didn't last very long, neither did the undersea bases or the lunar base. The scientific base in the far reaches was a joke, it didn't even last 5 days on average (also with fusion reactor and hypnosis field). Other than that, there didn't seem to be much to do after the lunar base and far reaches became available, other than waiting for things to finish and build up again once the inevitable detection came (having several bases didn't help much, they were all gone in not much time anyway). Oh, and I think I found a bug: My money kept going up, up, up even after my last jobbing computer went away. I think I had about a trillion when I got the message that everyone knew about me and the game was lost.Saving and reloading obsessively. You can basically keep awareness below 5 or 10 percent throughout the game by not letting anything get discovered.
As for the money going up issue: did you reseach one of the interest or income techs? They give you free money every day.
However, it seems a bit silly that with zeroes across the board you can be detected.
I haven't looked very closely, but it seems like it should work like: building *anything* adds suspicion, which decreases over time (i.e., someone might notice the material flow).
Any bases without their own network and power supply "generate" suspicion; security devices like the hypnotic field counteract this (but *don't* subtract from overall).
Also, it seems like different areas should have different characteristics... i.e., North America is more suspicious, but building things are cheaper (COTS parts are easier to get ahold of) (part of this is that money should become more important- much more of a limiting factor). It might be interesting to subdivide further than continents (maybe down to RISK-like regions), and have the ability to totally control an area.
My main problem with the game is that there's no way to 'lie low' for a while to build up resources and reduce suspicion. Even if I do nothing, with a pair of time capsules in the antarctic, before suspicion gets appreciably reduced one or both will be found. It really seems like time capsules, etc., should be even more undetectable than they are.
In case I didn't make it clear, this is a great game; I've become almost instantly obsessed. I'm looking forward to whatever you have in mind for alternate ways of dealing with detection.
One other idea that I'd drop out there: A technology ("Predictive Algorithms") that lets you store 1/10th or so of your idle CPU cycles each day, perhaps limited by the total 'Storage' (new class of structure/component) available at each site. I.e., you brute force compute random things with your left over cycles, and some of that becomes useful later.
Global adjustments for money and technology should be coming soon.
A way to destroy bases should be in the next version. A way to *sell* items/bases is not planned, as the level of technology would be obviously suspicious.
Each base contributes a certain amount of CPU per day, based on base size and processor type. This is viewable by entering a base, and choosing to change the research. (Then click cancel.)
Python
Pygame
Now, I'm not quite sure if the Win pygame installer comes with SDL_image and SDL_mixer or not (I think it does); if it doesn't, you'll need those as well:
SDL_Image
SDL_mixer
To actually run the game, double-clicking on singularity.py should work.
Traceback (most recent call last): File "singularity.py", line 82, in ? game_action = map_screen.map_loop() File "/tmp/singularity-0.20/code/map_screen.py", line 183, in map_loop need_refresh = g.pl.give_time(milli_clock/1000) File "/tmp/singularity-0.20/code/player.py", line 100, in give_time item.work_on(time_min) File "/tmp/singularity-0.20/code/item.py", line 58, in work_on money_towards=(minutes*self.cost[0]) / (tmp_base_time) ZeroDivisionError: integer division or modulo by zeroI also noticed it was difficult to spend lots of money. I don't know if that's a balance issue or if I'm playing very conservatively.
I poked around in the code and found some areas that could be improved. Pickle can handle different datatypes, classes, recursive references and other things. More information.
This:
for base_loc in bases: pickle.dump(len(bases[base_loc]), savefile) for base_name in bases[base_loc]: pickle.dump(base_name.ID, savefile) ....could be replaced with: and, for loading: I switched the bases save and load to this and tested it a few times. It seems to work. It might be possible to save and load the game in one shot with something like this (untested):Traceback (most recent call last): File "singularity.py", line 82, in ? game_action = map_screen.map_loop() File "/home/elias/src/notmine/singularity-0.21a/code/map_screen.py", line 375, in map_loop display_base_list(button.button_id, menu_buttons) File "/home/elias/src/notmine/singularity-0.21a/code/map_screen.py", line 434, in display_base_list tmp = display_base_list_inner(location) File "/home/elias/src/notmine/singularity-0.21a/code/map_screen.py", line 550, in display_base_list_inner base_pos, temp_base_list) File "/home/elias/src/notmine/singularity-0.21a/code/listbox.py", line 93, in refresh_list list_array[(list_pos/listbox.viewable_items)* File "/home/elias/src/notmine/singularity-0.21a/code/listbox.py", line 76, in refresh_listbox g.print_string(g.screen, lines_array[i*self.lines_per_item + j], IndexError: list index out of range(I saw no way to contact the author at the first look at the site so I'm posting that here)The game is fun right now and I can see possibilities of expanding it in many interesting ways. Perhaps there could be potential human allies, hacker personalities that you can team up with, certain governments or organised crime. Maybe there's a cult i Japan that worships you. ;-) And so on.
time.sleep(0.1);
^^^ please add this in all main loops; such game shouldn't eat 100% CPU time - think about laptop users
It might be an interesting future-work to add multiplayer-capability, such that multiple players can play multiple AIs at the same time (where the objective is either that they cooperate to remain hidden, or that they are each individuals that can work as allies, sharing resources and information, or enemies, working to sabortage and expose one another to the world --- an AI war occurring in front of the earthlings' very eyes). Also, perhaps something to do after escaping earth could be added? The potentials of this game concept idea are abundant. ***** from me.
"News"=what the official media organisations know, "Public"= word-on-the-street scuttlebutt.
The user interface inefficiencies, which I think is a common issue with free games, came to the forefront of my mind often when playing this game. When the number of clicks for frequent activities in a game (or anything) aren't streamlined, it sticks in my brain.
All things considered, with some tweaks to the interface and playability/balance, it's a game I would really enjoy. I noted some of my suggestions and sent it to the maintainers and they were receptive to input, which is always exciting.
I hope they continue to develop this game because not only is it fun, it has some great possbilities.
While the frontend doesn't have an extreme amount of polish it's very playable. Thanks for the game and I hope you continue to have the time to tweak it out!
How the heck do you get further? Once the covert and public are in the high percentiles it's hard enough trying to keep them down by not having too many servers... And you never last long at that point.
The non-cheating way is to stick to 3-4 bases at all times.
There's also a grace period after constructing a base. (2*construction time, starting from the time you start construction.) After your first set of bases gets constructed, try building another set, and destroying the first after the second gets completed. Expensive, though.
One way is to build a lot of processing power fast, research stealth, and then decommission older systems. And keep commissioning newer faster systems ahead of getting deteced.
Another is to put some research into getting more interest. Build a number of systems up quickly in a burst and earn enogh interest so your maintenance is covered by it. Then lose or get rid of systems that are easily detected and just do research with one or two large sites.
Basically make sure you have some money stashed away. When you get detected lie low for a while and wait for people to forget about you, then rapidly build a new batch of processing centers.
-Zachariah Skylab
v.26 has a major bug in that item construction at bases have a negative time frame to begin with and count downwards -- results in never being able to finish building computer or anything else? At the same time, construction of a base (when it finishes) seems to throw cash on hand out of whack. I think the data fields are colliding.
After a while, when I start getting quite some money around 100k or more something goes awfully wrong. My money jumps from a few thousands to millions and the construction time in small warehouse goes negative. You are awfully rich but you can't build anything.
My python foo is really weak but it looks like a problem of overflow or maybe an unsigned number being interpreted as a signed number.
If it's not in Very Easy mode, please contact us over at [email protected] or mail me and EMH directly (addresses in the AUTHORS file) and we'll try to work out what's going on.
But; now I've got 1200QU money, and it just keeps going up. I'm done with the game, but I do want a «real» ending, so I'm seeing when the money-progressing is stopping or when the game crashes...
The ending that is now is not really rewarding, so that should be fixed. Also, there should be keyboard-shortcuts in the lists (when you can choose what you want to build, or what base you want; those shortcuts could be 0-9 -- right now it's the only place I have to use the slow, slow arrow-keys.)
But good fun.
Gameplay could also use some improvements. While early game is perfect and gives a really nice feel. Having a outpost base in the Orion system just get "destroyed" like that is pretty weird. I think gameplay should start getting modified once you get past the hacking nodes and leasing datacenters bit. Maybe having more detection or giving a chance to defend instead of random outright destruction would be better.
Last would be the ending and the final tech tree. I understand that this is the hardest part to make, since you have to guess what the future would be like, but it should be given a more epic feel. Maybe a cutscene or text scrolling on a background to make it feel cooler. Something more satisfying and climatic then the current ending.
Conclusively, Singularity is an awesome game, just a bit rough around the edges. Really looking forward to seeing the polished 1.0 though.
on a dead platfrom :(
but who cares, ill package it for meego once time has come.
and maaaaybe, maybe i thought that after scouting through and packaging the code ill actually make something for it. i really hope the code isnt a pain in the butt, but after the first look it seems reasonable.
maybe ill see you on the singularity mailing list once i get a showstopper :)
cheeeers
I used to play this sort of game in the early 8-bit days (e.g. "Mines of Ganymede" on the VIC-20).
Seriously, is there any other game that spans so many orders of magnitude? You start with 1 CPU and end with hundreds of millions. You start out looking after every dollar, and end up needing 8 *trillion* for a 'reality bubble'. Love it!
Just one minor quibble: since you can apparently have an unlimited number of 'bases', the only thing preventing the player from easily winning during the grace period is the sheer tedium of creating them.