Code Monkey home page Code Monkey logo

feud's Introduction

feud
====

Version 0.0.5 (May 2019)

feud is a turn-based military and political strategy game. It is based on
medieval-styled board games I used to make and play (mostly with myself) as a
teenager.

Game rules
-----------

See file named RULES

Usage
-----

Currently, only game editor, single player (vs computer) and local multiplayer
(hot-seat) are implemented. Computer player (AI) is very weak and mostly random.
There is no network, only local multiplayer, so all players will use the same
computer. There are no prebuilt maps, so you will have to use editor to create
your own world (create grid, design terrain, define regions, give them nice
names, create players and set their pieces). Alternatively you can use a wizard
to create a very simplistic world.

To create or edit a world, type 'feud-editor'. You can create a map and populate
it to your liking, or open an existing map and tweak it.

To play a hotseat game, type 'feud' and play together with your friend(s).

To play against [very stupid] AI, type 'feud-ai', pick a character and have fun.

Installation
------------

See file named INSTALL

Licensing
---------

feud is free software, and is released under the terms of the GNU General
Public License version 3 or any later version. Please see the file called
LICENSE.

History
-------

See file named CHANGES

feud's People

Contributors

ciubotaru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

feud's Issues

Can't compile on Mac OSX

so if I run

./configure --prefix=/Users/emanueleianni/personal/feud/compiledgame
make

I have

file.c:8:10: fatal error: 'endian.h' file not found

that can be fixed doing

#include <machine/endian.h>

Once I fixed that I have many warnings like

gcc -c -g -O2 file.c -o file.o
file.c:83:15: warning: implicit declaration of function 'be16toh' is invalid in C99 [-Wimplicit-function-declaration]
        set_gametime(be16toh(year_be), mon);
                     ^
file.c:109:27: warning: implicit declaration of function 'be16toh' is invalid in C99 [-Wimplicit-function-declaration]
        uint16_t nr_characters = be16toh(nr_characters_be);
                                 ^
file.c:165:24: warning: implicit declaration of function 'be16toh' is invalid in C99 [-Wimplicit-function-declaration]
        uint16_t nr_regions = be16toh(nr_regions_be);   /* global var */

and

gcc -g -O2 -o feud map.o character.o dice.o diplomacy.o piece.o time.o file.o window.o voronoi.o world.o feud.o -lncurses -lm
Undefined symbols for architecture x86_64:
  "_be16toh", referenced from:
      _deserialize_game_metadata in file.o
      _deserialize_characterlist in file.o
      _deserialize_regionlist in file.o
      _deserialize_grid in file.o
      _deserialize_pieces in file.o
      _deserialize_feudal in file.o
      _deserialize_heir in file.o
      ...
  "_htobe16", referenced from:
      _serialize_game_metadata in file.o
      _serialize_characterlist in file.o
      _serialize_regionlist in file.o
      _serialize_grid in file.o
      _serialize_pieces in file.o
      _serialize_feudal in file.o
      _serialize_heir in file.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [feud] Error 1

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.