GNOME Bugzilla – Bug 556016
Is this cheating?
Last modified: 2012-01-31 23:24:22 UTC
Please describe the problem: I was playing Seahaven. According to the rules, you can only move "free reserve slots+1" number of cards at maximum. However the game has a feature that if it is valid to move the lowest card in a stack, you are able to move the hole stack of cards to the foundation. I had a stack consiting of many cards (more than five). I call that stack X. The only legal move was to move it, stack X, to the foundation. Another move was possible, to move the stack X to another stack Y, but I had too many cards in the stack X to to that. The game usually prohibits movement of cards at all if the stack is to big to be able to move, but now that lock was release on stack X because it could move to the foundation. I was also, despite the rules, able to cheat by moving it to stack Y. It accepted, even marked the lowest card on stack Y blue, signaling that the move was possible. This is probably not cheating in Seahaven, since the best move is always to move the cards to the foundation. However, the engine is the same for all games and this might be cheating in another game. It is against the rules anyhow. The move should only be valid to the foundation and not to stack Y. My version is from Ubuntu gnome-games 1:2.22:.2.1-0ubuntu1 https://launchpad.net/ubuntu/+source/gnome-games Description: Ubuntu 8.04.1 Release: 8.04 gnome-games: Installerad: 1:2.22.2.1-0ubuntu1 Kandidat: 1:2.22.3-0ubuntu2 Versionstabell: 1:2.22.3-0ubuntu2 0 500 http://se.archive.ubuntu.com hardy-updates/main Packages *** 1:2.22.2.1-0ubuntu1 0 100 /var/lib/dpkg/status 1:2.22.1.1-0ubuntu3 0 500 http://se.archive.ubuntu.com hardy/main Packages ProblemType: Bug Architecture: i386 Date: Thu Oct 9 09:16:47 2008 DistroRelease: Ubuntu 8.04 Package: gnome-games 1:2.22.2.1-0ubuntu1 PackageArchitecture: i386 ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=sv_SE.UTF-8 SHELL=/bin/bash SourcePackage: gnome-games Uname: Linux 2.6.24-19-generic i686 Steps to reproduce: Make sure you have the following situation: a stack with many cards, another card which makes a legal move to move the stack on to this card. Make sure you make the move illegal by having to little space left in the reserve to move the stack. Make sure the stack is also viable to move into the foundation. Don't move the stack to the foundation, instead move it to the card. This is probably very hard to understand, so I make up an imaginary example: 1. The foundation have ACE of Hearths and Two of Hearths. 2. My stack in the Tableau, consists of Three of Hearths to Nine of Hearths. 3. Another free card in the Tableau has Ten of Hearths. 4. Move the stack (Three to Nine of Hearths) to the Ten of Hearths. Actual results: The move is accepted by the game and Ten of Hearths is also highlighted by the game (signaling a legal move). Expected results: Moving Three to Nine of Hearths to Ten of Hearths is not a legal move according to the help because it consists of seven cards. One can move only five cards as maximum at any given time. The rules are correct, since Nine of Hearths wouldn't move an inch if not the Two of Hearths existed in the Foundation. Does this happen every time? Yes Other information:
Created attachment 120851 [details] [review] patch Thanks for the report. You've made it very easy for me to see what's going on here. I don't think moving cards illegally to another tableau pile instead of the foundation can ever help you win, but it is still technically against the rules. Here's a patch. As it happens, most games have their own "engine" (the common parts you see across all games are more of a "frontend" or a "framework"), and Seahaven is one of those games. But this will cover us if we ever decide to use the Seahaven code in another game.
Thanks! Please commit to svn trunk.
Committed; thanks for the patch!
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component. Apologies for the mass email!