Bug 215278 - wargames broken
Summary: wargames broken
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bsd-games
Version: 6
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Wart
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-13 07:02 UTC by Michel Alexandre Salim
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-11-23 01:03:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michel Alexandre Salim 2006-11-13 07:02:17 UTC
Description of problem:
The wargames script, part of the bsd-games collection, searches for the user's
input in /usr/games/, and if found, executes it. All game binaries are now
located in /usr/bin, however, so no matter what one types one gets back the
failsafe option:

A strange game.
The only winning move is
not to play.

Version-Release number of selected component (if applicable):
bsd-games-2.7-15.fc6

How reproducible:
Always


Steps to Reproduce:
1. wargames
2. Type in the name of a bsd-games binary
  
Actual results:
Game not launched

Expected results:
Game launched

Additional info:

Comment 1 Wart 2006-11-19 00:42:33 UTC
After taking a closer look at this 'game', I'm not sure it should even be
included.  It's just a launcher for other games that are already in the user's PATH.

I'm going to 'fix' this by removing wargames from this package.

Comment 2 Michel Alexandre Salim 2006-11-20 04:04:00 UTC
It is quite humorous, though. Can't you leave it in, but change it so it checks
that the name typed matches one of the game installed by bsd-games?

Comment 3 Wart 2006-11-21 18:13:09 UTC
Since all of the bsd-games are installed in /usr/bin, it would require rewriting
the logic in wargames to filter only on games from bsd-games.  I could instead
have it operate on anything in /usr/bin, instead of /usr/games, but I'd really
prefer just to remove wargames.

Comment 4 Wart 2006-11-23 01:03:33 UTC
'wargames' has been removed for FC6 and rawhide.


Note You need to log in before you can comment on or make changes to this bug.