Initial import of forcedattack 2.1.4
4st Attack is a game in which you have to try to out-smart your opponent. The goal of the game is to connect four of stones in a straight line. This can be horizontaly, vertically and even diagonnally. from Xavier Santolaria <xavier@santolaria.net>
This commit is contained in:
parent
5bfccb82fa
commit
1b999970b5
45
games/forcedattack/Makefile
Normal file
45
games/forcedattack/Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/10/10 16:10:13 sturm Exp $
|
||||
|
||||
COMMENT= "connect four of stones in a straight line"
|
||||
|
||||
V= 2.1.4
|
||||
DISTNAME= 4stAttack-${V}
|
||||
PKGNAME= forcedattack-${V}
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://forcedattack.sourceforge.net/
|
||||
|
||||
MAINTAINER= Xavier Santolaria <xavier@santolaria.net>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=forcedattack/}
|
||||
|
||||
MODULES= python
|
||||
|
||||
RUN_DEPENDS+= :pygame-*:devel/pygame
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
GAMEDIR= ${PREFIX}/share/forcedattack
|
||||
|
||||
do-build:
|
||||
@perl -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g;" \
|
||||
-e "s,%%PYTHON%%,${LOCALBASE}/bin/python${MODPY_VERSION},g;" \
|
||||
${WRKSRC}/4stattack
|
||||
@perl -pi -e 's,python,python${MODPY_VERSION},g' ${WRKSRC}/4stattack.py
|
||||
|
||||
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/4stattack ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${GAMEDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/*.{py,pyc} ${GAMEDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.{ini,ttf} ${GAMEDIR}
|
||||
cd ${WRKSRC}; tar cf - data gui kde players | tar xf - -C ${GAMEDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/forcedattack/distinfo
Normal file
3
games/forcedattack/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (4stAttack-2.1.4.tar.gz) = 72a6d85d4218e938c043a6e5f0074e1b
|
||||
RMD160 (4stAttack-2.1.4.tar.gz) = df5d420b5024e8634dac646247583179df533e44
|
||||
SHA1 (4stAttack-2.1.4.tar.gz) = ecfe89054202b3c9fea9be4a03de72faaa406f6f
|
16
games/forcedattack/patches/patch-4stattack
Normal file
16
games/forcedattack/patches/patch-4stattack
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-4stattack,v 1.1.1.1 2003/10/10 16:10:13 sturm Exp $
|
||||
--- 4stattack.orig 2002-10-01 16:38:03.000000000 +0200
|
||||
+++ 4stattack 2003-08-20 09:47:42.000000000 +0200
|
||||
@@ -1,9 +1,10 @@
|
||||
#!/bin/sh
|
||||
-FAHOME=/usr/share/forcedattack2
|
||||
+FAHOME=%%LOCALBASE%%/share/forcedattack
|
||||
if [ ! -f ~/.4stattackrc ]; then
|
||||
cp $FAHOME/settings.ini ~/.4stattackrc
|
||||
+ chmod 600 ~/.4stattackrc
|
||||
fi
|
||||
if [ -x $FAHOME/4stattack.py ]; then
|
||||
- $FAHOME/4stattack.py -ini ~/.4stattackrc
|
||||
+ cd $FAHOME && %%PYTHON%% ./4stattack.py -ini ~/.4stattackrc
|
||||
fi
|
||||
|
21
games/forcedattack/patches/patch-multiplayerscreen_py
Normal file
21
games/forcedattack/patches/patch-multiplayerscreen_py
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-multiplayerscreen_py,v 1.1.1.1 2003/10/10 16:10:13 sturm Exp $
|
||||
--- multiplayerscreen.py.orig 2002-10-01 16:38:03.000000000 +0200
|
||||
+++ multiplayerscreen.py 2003-08-11 23:02:26.000000000 +0200
|
||||
@@ -69,7 +69,7 @@ class MultiplayerScreen(Dialog):
|
||||
#chat = Chat(self.surface, self.images, self.locations)
|
||||
chat = None
|
||||
|
||||
- from game import *
|
||||
+ #from game import *
|
||||
|
||||
game = Game(self.surface, self.images, self.locations, player1, player2)
|
||||
game.run()
|
||||
@@ -95,7 +95,7 @@ class MultiplayerScreen(Dialog):
|
||||
#chat = Chat(self.surface, self.images, self.locations, self.host.getText())
|
||||
chat = None
|
||||
|
||||
- from game import *
|
||||
+ #from game import *
|
||||
|
||||
game = Game(self.surface, self.images, self.locations, player1, player2)
|
||||
game.run()
|
4
games/forcedattack/pkg/DESCR
Normal file
4
games/forcedattack/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
4st Attack is a game in which you have to try to out-smart
|
||||
your opponent. The goal of the game is to connect four of
|
||||
stones in a straight line. This can be horizontaly, vertically
|
||||
and even diagonnally.
|
204
games/forcedattack/pkg/PLIST
Normal file
204
games/forcedattack/pkg/PLIST
Normal file
@ -0,0 +1,204 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/10/10 16:10:13 sturm Exp $
|
||||
bin/4stattack
|
||||
share/forcedattack/4stattack.py
|
||||
share/forcedattack/4stattack.pyc
|
||||
share/forcedattack/animator.py
|
||||
share/forcedattack/animator.pyc
|
||||
share/forcedattack/board.py
|
||||
share/forcedattack/board.pyc
|
||||
share/forcedattack/chat.py
|
||||
share/forcedattack/chat.pyc
|
||||
share/forcedattack/creditsscreen.py
|
||||
share/forcedattack/creditsscreen.pyc
|
||||
share/forcedattack/data/music/4stattack.ogg
|
||||
share/forcedattack/data/themes/clean/1024x768/awaitingconnection.png
|
||||
share/forcedattack/data/themes/clean/1024x768/back.png
|
||||
share/forcedattack/data/themes/clean/1024x768/background.png
|
||||
share/forcedattack/data/themes/clean/1024x768/chakie.png
|
||||
share/forcedattack/data/themes/clean/1024x768/connecting-plain.png
|
||||
share/forcedattack/data/themes/clean/1024x768/connecting.png
|
||||
share/forcedattack/data/themes/clean/1024x768/credits.png
|
||||
share/forcedattack/data/themes/clean/1024x768/cursor.png
|
||||
share/forcedattack/data/themes/clean/1024x768/draw.png
|
||||
share/forcedattack/data/themes/clean/1024x768/error-connecting.png
|
||||
share/forcedattack/data/themes/clean/1024x768/frame.png
|
||||
share/forcedattack/data/themes/clean/1024x768/frm_bl.png
|
||||
share/forcedattack/data/themes/clean/1024x768/frm_br.png
|
||||
share/forcedattack/data/themes/clean/1024x768/frm_left.png
|
||||
share/forcedattack/data/themes/clean/1024x768/frm_right.png
|
||||
share/forcedattack/data/themes/clean/1024x768/frm_tl.png
|
||||
share/forcedattack/data/themes/clean/1024x768/frm_top.png
|
||||
share/forcedattack/data/themes/clean/1024x768/frm_tr.png
|
||||
share/forcedattack/data/themes/clean/1024x768/fullscreen.png
|
||||
share/forcedattack/data/themes/clean/1024x768/graphics.png
|
||||
share/forcedattack/data/themes/clean/1024x768/green-zebra.png
|
||||
share/forcedattack/data/themes/clean/1024x768/grid.png
|
||||
share/forcedattack/data/themes/clean/1024x768/hostagame.png
|
||||
share/forcedattack/data/themes/clean/1024x768/joinagame.png
|
||||
share/forcedattack/data/themes/clean/1024x768/keepplaying.png
|
||||
share/forcedattack/data/themes/clean/1024x768/korruptor.png
|
||||
share/forcedattack/data/themes/clean/1024x768/locations.ini
|
||||
share/forcedattack/data/themes/clean/1024x768/logo.png
|
||||
share/forcedattack/data/themes/clean/1024x768/multiplayer.png
|
||||
share/forcedattack/data/themes/clean/1024x768/music.png
|
||||
share/forcedattack/data/themes/clean/1024x768/ok.png
|
||||
share/forcedattack/data/themes/clean/1024x768/playervscpu.png
|
||||
share/forcedattack/data/themes/clean/1024x768/programming.png
|
||||
share/forcedattack/data/themes/clean/1024x768/pygame.png
|
||||
share/forcedattack/data/themes/clean/1024x768/quit.png
|
||||
share/forcedattack/data/themes/clean/1024x768/quitgame.png
|
||||
share/forcedattack/data/themes/clean/1024x768/radio-off.png
|
||||
share/forcedattack/data/themes/clean/1024x768/radio-on.png
|
||||
share/forcedattack/data/themes/clean/1024x768/radio.png
|
||||
share/forcedattack/data/themes/clean/1024x768/selector.png
|
||||
share/forcedattack/data/themes/clean/1024x768/selector1.png
|
||||
share/forcedattack/data/themes/clean/1024x768/selector2.png
|
||||
share/forcedattack/data/themes/clean/1024x768/settings.png
|
||||
share/forcedattack/data/themes/clean/1024x768/slm-text.png
|
||||
share/forcedattack/data/themes/clean/1024x768/slm.png
|
||||
share/forcedattack/data/themes/clean/1024x768/start.png
|
||||
share/forcedattack/data/themes/clean/1024x768/stone_1.png
|
||||
share/forcedattack/data/themes/clean/1024x768/stone_2.png
|
||||
share/forcedattack/data/themes/clean/1024x768/thanks.png
|
||||
share/forcedattack/data/themes/clean/1024x768/wannaquit.png
|
||||
share/forcedattack/data/themes/clean/1024x768/won_1.png
|
||||
share/forcedattack/data/themes/clean/1024x768/won_2.png
|
||||
share/forcedattack/data/themes/clean/audio.ini
|
||||
share/forcedattack/data/themes/clean/graphics.ini
|
||||
share/forcedattack/endgamedialog.py
|
||||
share/forcedattack/endgamedialog.pyc
|
||||
share/forcedattack/endscreen.py
|
||||
share/forcedattack/endscreen.pyc
|
||||
share/forcedattack/game.py
|
||||
share/forcedattack/game.pyc
|
||||
share/forcedattack/gamelog.py
|
||||
share/forcedattack/gamelog.pyc
|
||||
share/forcedattack/gamescreen.py
|
||||
share/forcedattack/gamescreen.pyc
|
||||
share/forcedattack/gui/__init__.py
|
||||
share/forcedattack/gui/__init__.pyc
|
||||
share/forcedattack/gui/button.py
|
||||
share/forcedattack/gui/button.pyc
|
||||
share/forcedattack/gui/canvas.py
|
||||
share/forcedattack/gui/canvas.pyc
|
||||
share/forcedattack/gui/checkbox.py
|
||||
share/forcedattack/gui/checkbox.pyc
|
||||
share/forcedattack/gui/dialog.py
|
||||
share/forcedattack/gui/dialog.pyc
|
||||
share/forcedattack/gui/dialogs/dialog
|
||||
share/forcedattack/gui/dialogs/end_game.py
|
||||
share/forcedattack/gui/dialogs/end_game.pyc
|
||||
share/forcedattack/gui/dialogs/info_map.py
|
||||
share/forcedattack/gui/dialogs/info_map.pyc
|
||||
share/forcedattack/gui/dialogs/info_scenario.py
|
||||
share/forcedattack/gui/dialogs/info_scenario.pyc
|
||||
share/forcedattack/gui/dialogs/info_units.py
|
||||
share/forcedattack/gui/dialogs/info_units.pyc
|
||||
share/forcedattack/gui/dialogs/main_dialog.py
|
||||
share/forcedattack/gui/dialogs/main_dialog.pyc
|
||||
share/forcedattack/gui/dialogs/new_game.py
|
||||
share/forcedattack/gui/dialogs/new_game.pyc
|
||||
share/forcedattack/gui/dialogs/select_scenario.py
|
||||
share/forcedattack/gui/dialogs/select_scenario.pyc
|
||||
share/forcedattack/gui/dialogs/setup_client.py
|
||||
share/forcedattack/gui/dialogs/setup_client.pyc
|
||||
share/forcedattack/gui/dialogs/setup_network.py
|
||||
share/forcedattack/gui/dialogs/setup_network.pyc
|
||||
share/forcedattack/gui/dialogs/setup_players.py
|
||||
share/forcedattack/gui/dialogs/setup_players.pyc
|
||||
share/forcedattack/gui/dialogs/start_game.py
|
||||
share/forcedattack/gui/dialogs/start_game.pyc
|
||||
share/forcedattack/gui/dialogs/wait_client.py
|
||||
share/forcedattack/gui/dialogs/wait_client.pyc
|
||||
share/forcedattack/gui/editfield.py
|
||||
share/forcedattack/gui/editfield.pyc
|
||||
share/forcedattack/gui/fader.py
|
||||
share/forcedattack/gui/fader.pyc
|
||||
share/forcedattack/gui/image.py
|
||||
share/forcedattack/gui/image.pyc
|
||||
share/forcedattack/gui/label.py
|
||||
share/forcedattack/gui/label.pyc
|
||||
share/forcedattack/gui/messagebox.py
|
||||
share/forcedattack/gui/messagebox.pyc
|
||||
share/forcedattack/gui/progress.py
|
||||
share/forcedattack/gui/progress.pyc
|
||||
share/forcedattack/gui/widget.py
|
||||
share/forcedattack/gui/widget.pyc
|
||||
share/forcedattack/gui/widget_manager.py
|
||||
share/forcedattack/gui/widget_manager.pyc
|
||||
share/forcedattack/inisettings.py
|
||||
share/forcedattack/inisettings.pyc
|
||||
share/forcedattack/kde/icons/16x16/forcedattack2.png
|
||||
share/forcedattack/kde/icons/22x22/forcedattack2.png
|
||||
share/forcedattack/kde/icons/32x32/forcedattack2.png
|
||||
share/forcedattack/kde/icons/48x48/forcedattack2.png
|
||||
share/forcedattack/kde/icons/64x64/forcedattack2.png
|
||||
share/forcedattack/kde/menu-items/forcedattack2.desktop
|
||||
share/forcedattack/multiplayerscreen.py
|
||||
share/forcedattack/multiplayerscreen.pyc
|
||||
share/forcedattack/players/__init__.py
|
||||
share/forcedattack/players/__init__.pyc
|
||||
share/forcedattack/players/agressive.py
|
||||
share/forcedattack/players/agressive.pyc
|
||||
share/forcedattack/players/connectscore.py
|
||||
share/forcedattack/players/connectscore.pyc
|
||||
share/forcedattack/players/human.py
|
||||
share/forcedattack/players/human.pyc
|
||||
share/forcedattack/players/minmax.py
|
||||
share/forcedattack/players/minmax.pyc
|
||||
share/forcedattack/players/multiplayer.py
|
||||
share/forcedattack/players/multiplayer.pyc
|
||||
share/forcedattack/players/multiplayer_receiver.py
|
||||
share/forcedattack/players/multiplayer_receiver.pyc
|
||||
share/forcedattack/players/multiplayer_sender.py
|
||||
share/forcedattack/players/multiplayer_sender.pyc
|
||||
share/forcedattack/players/neuralai.py
|
||||
share/forcedattack/players/neuralai.pyc
|
||||
share/forcedattack/players/player.py
|
||||
share/forcedattack/players/player.pyc
|
||||
share/forcedattack/players/randomai.py
|
||||
share/forcedattack/players/randomai.pyc
|
||||
share/forcedattack/players/strategic.py
|
||||
share/forcedattack/players/strategic.pyc
|
||||
share/forcedattack/players/treeai.py
|
||||
share/forcedattack/players/treeai.pyc
|
||||
share/forcedattack/players/weighted.py
|
||||
share/forcedattack/players/weighted.pyc
|
||||
share/forcedattack/quit.py
|
||||
share/forcedattack/quit.pyc
|
||||
share/forcedattack/rules.py
|
||||
share/forcedattack/rules.pyc
|
||||
share/forcedattack/scoremap.py
|
||||
share/forcedattack/scoremap.pyc
|
||||
share/forcedattack/setini.py
|
||||
share/forcedattack/setini.pyc
|
||||
share/forcedattack/settings.ini
|
||||
share/forcedattack/settingsscreen.py
|
||||
share/forcedattack/settingsscreen.pyc
|
||||
share/forcedattack/startscreen.py
|
||||
share/forcedattack/startscreen.pyc
|
||||
share/forcedattack/technical.ttf
|
||||
share/forcedattack/test.ini
|
||||
share/forcedattack/testgui.py
|
||||
share/forcedattack/testgui.pyc
|
||||
share/forcedattack/testini.py
|
||||
share/forcedattack/testini.pyc
|
||||
share/forcedattack/themeresizer.py
|
||||
share/forcedattack/themeresizer.pyc
|
||||
@dirrm share/forcedattack/players
|
||||
@dirrm share/forcedattack/kde/menu-items
|
||||
@dirrm share/forcedattack/kde/icons/64x64
|
||||
@dirrm share/forcedattack/kde/icons/48x48
|
||||
@dirrm share/forcedattack/kde/icons/32x32
|
||||
@dirrm share/forcedattack/kde/icons/22x22
|
||||
@dirrm share/forcedattack/kde/icons/16x16
|
||||
@dirrm share/forcedattack/kde/icons
|
||||
@dirrm share/forcedattack/kde
|
||||
@dirrm share/forcedattack/gui/dialogs
|
||||
@dirrm share/forcedattack/gui
|
||||
@dirrm share/forcedattack/data/themes/clean/1024x768
|
||||
@dirrm share/forcedattack/data/themes/clean
|
||||
@dirrm share/forcedattack/data/themes
|
||||
@dirrm share/forcedattack/data/music
|
||||
@dirrm share/forcedattack/data
|
||||
@dirrm share/forcedattack
|
Loading…
Reference in New Issue
Block a user