lauryndbrown / ascii_civ Goto Github PK
View Code? Open in Web Editor NEWSmall Python ASCII based Civ-like Game
Small Python ASCII based Civ-like Game
Each building will have a function and an effect on wealth or happiness of a nation. This will need to be fleshed out in order to play the game. The building class will simply need to be an abstract class with subclasses for each building type.
Hopefully, ASCII art can be added to create a better gaming experience, but for now, a simple, all text display with the players' information will do. It will need to include wealth, number of cities, total nation population, and number of buildings (preferably distinguished by type).
Game needs to be generic and not specific to ASCII civ. Separate the two out into two different classes. Perhaps putting the generic Game class into another file. Have the civ class inherit from the Game class.
A two column design where one player is on one side and the opponent on the other is preferred for trying to view the screen. Also, a full screen for cmd is probably best in order to best simulate screen transitions.
Perhaps later down the line, story missions can be given to add depth to the game.
Someone may want to use the ascii cmd-line game engine features in different games. Separate it from the ascii civ project and give its own repository.
The computer will need a program that will allow it to play the game with the player. It would be easiest to create this program once the foundations of the game and game play are created.
Once the all text display has been created, a more artistic version can be adopted in order to bring a better display to the user. Feature for the future.
Natural disasters and random chance will definitely make the game more challenging and unpredictable. It will need to be decided what kinds of events can happen, when, and how frequently.
What actions can each player take a turn? It will need to be displayed at the bottom of the screen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.