Submitted by bartron on Tue, 05/15/2012 - 21:04
After a night of playing this game with friends, I decided to program it. I like programming card games since theyre easy to model, but depending on the game rules, can be complicated to program, especially for computer opponents.
This version of President, or ass-hole, depending on what you call it, can be played with up to 3 decks of cards and against up to 6 computer players.
Requires Java 6 to run.
Submitted by bartron on Tue, 05/15/2012 - 20:41
This assumes you have install Apache 2 Webserver.
First, install subversion and the library for Apache:
sudo apt-get install subversion libapache2-svn
Then create a new directory for the repository using the svnadmin command. This directory can be anywhere
sudo svnadmin create /var/lib/svn
Create a user for using the svn repository
sudo htpasswd -cm /etc/apache2/dav_svn.passwd USERNAME
You'll now have to configure the conf file for svn:
sudo nano /etc/apache2/mods-enabled/dav_svn.conf