GithubHelp home page GithubHelp logo

obb's Introduction

Obb

by Christopher Night (Universe Factory games) written for PyWeek 13

Obb is both a real-time strategy game and a tile placement puzzle game. Control the growth of a mutant named Obb. Expand into space and defend Obb from hostile forces. Collect mutagen to form new types of organs.

This game was originally written in one week for PyWeek 13, the python game programming contest. This version is only slightly modified from the original.

This is a sandbox game. There's no way to die and no way to win. Feel free to quit when you've seen enough!

Running the game

Source code version (all platforms)

Install the dependencies python 2.6+, and pygame 1.9+, and numpy. (It has not been tested on python 3.) Run the following in a terminal:

python run_game.py

To install the dependencies on Ubuntu, you can run:

sudo apt-get install python python-pygame python-numpy

Windows version

Double click on obb.exe

Controls

Use the mouse.

Quit the game at any time by pressing Esc. Your game is automatically saved.

Scroll by dragging or use the arrow keys or WASD.

Press F12 to take a screenshot.

Press F11 to make a "map" of your game. This will show your entire organism without any sidebars.

Press F9 if you want to delete your save game and start over.

Strategy tips

Obb is both a real-time strategy game and a tile-placement puzzle game. You'll have to understand both aspects of the game to do well.

Make sure you understand what each icon does, because it might be helpful in your strategy.

Tile placement tips

There are three colors of stalks (green, purple, and orange), and organs can only be built on stalks of the corresponding color. Purple organs are the most important, since they're how you collect resources, but green and orange organs are essential in every area. As you expand, you need to be able to build all three colors of organs in all regions. Think ahead when you're placing tiles and organs. Don't cut off any of the three colors from any part of the map. Remember that stalks can cross each other as long as it's not too dense.

Every organ terminates a stalk, so make as many branches as possible. Get in the habit of trashing most non-branching tiles you get. The non-branching pieces are really only useful if you need to get out of a tight spot or cross stalks against each other. It's fine if you're trashing more tiles than you're using. There's no rush. Remember you can trash a tile with right-click.

A single hex on the map should be put to multiple uses. Multiple stalks can go through it, and an organ can occupy the center. Use hexes as efficiently as possible. Don't hesitate to build organs over stalks or vice versa.

You can always chop pieces off and try again!

Real-time strategy tips

Again, there's no way to win or lose. A good goal is to unlock all 18 organs, and last for a few minutes with 70 or so organs built. (The number of organs built is the first number in the lower-right.) If you do that, you'll have seen pretty much everything the game has to offer.

There are three categories of organs. Purple organs let you collect and store mutagen and ooze. Green organs let you explore new territory and control other organs. Orange organs are for defense. (Weapons are also useful for generating resources, since destroyed hazards turn into white energy.) Your main goal should be to collect and store as much mutagen as possible (the purple and blue organs), and the other organs should support this goal. The mutagen pod (the purple organ with the blue ball) is the most important - every one of these you grow unlocks a new organ.

The least essential organ is the blue cubes. They just make new tiles appear faster. But if you're stuck somewhere and you're looking for the one tile that will fit, it's much easier if you've six cubes than if you've got zero.

The amount of danger you're in depends on two things: how far out you've expanded, and how many total organs you have. The farther out an organ is from the mouth, the more it's going to be attacked. You can stay safer by building densely and evenly in all directions. Each hex can hold one organ. Try not to have too many empty hexes, and try to keep the mouth at roughly the center of your organism.

If you don't remember what an organ does, you can point to its build icon and Obb will tell you if tips are enabled. You can toggle tips by clicking on the mouth.

License

Source Code License

Most of the code for this game is by Christopher Night. Use it however you want. It's released under WTFPL, and also dedicated to the public domain under CC-0. If you want me to release it under some other license, ask and I will.

Developers

The only exceptions are the "fixes" module by Greg Ewing, and the "fonts" module, which contains some code from pygame.org.

Music License

Music by Kevin MacLeod, released under CC-BY. Specific songs are: Rocket, Killing Time, Itty Bitty 8 Bit, and Space Fighter Loop. Find them at incompetech.com.

Artwork License

Most of the graphics are procedurally generated by the code, and are under the same license as the code. Icons are based on CC0 (public domain) clip art from openclipart.org. Specifically:

Font License

I suck at golf by Divide by Zero.

See the file data/suckgolf-README.TXT for license information

Sound License

Sounds were resampled from the following freesound.org sources:

obb's People

Contributors

cosmologicon avatar mdtrooper avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.