LotR TCG Wiki → Card Sets:  All 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 → Forums:  TLHH CC

Author Topic: Gemp-LotR Online teaser  (Read 2253 times)

0 Members and 1 Guest are viewing this topic.

August 27, 2011, 02:30:08 PM
Read 2253 times

MarcinS

  • *****
  • Information Offline
  • Knight
  • Posts: 1060
Gemp-LotR Online teaser
« on: August 27, 2011, 02:30:08 PM »
Hey, just to show you what's coming - a short teaser of the Gemp-LotR. It's a project I've been working on for the last 3 weeks. It allows you to play LotR TCG against other players online using a web browser. It also works on smartphones (tested on HTC Desire). The program takes into account all rules so there will be no need of adding burdens, wounds, drawing cards manually, all will be done by the system.

The first set (Fellowship of the Ring) should be available to play in about 3-4 weeks. I still need some help with the graphics and user interface, so if anyone is willing to help me out (I beg you), just send me a PM on the forums.

Thanks!

Here is the teaser video on YouTube (sorry for the video quality - crappy lighting and WebCamera):
http://www.youtube.com/watch?v=RDgyOkncDqo
New/old way to play Lord of the Rings online.
Give Gemp-LotR a try.
All sets are finished

August 28, 2011, 03:42:12 AM
Reply #1

Gil-Estel

  • *****
  • Information Offline
  • King
  • Posts: 2267
  • Abuser of the Force
Re: Gemp-LotR Online teaser
« Reply #1 on: August 28, 2011, 03:42:12 AM »
It looks great, no doubt about that. What are the advantages compared to GCCG?
..."Elves seldom give unguarded advice, for advice is a dangerous gift, even from the wise to the wise, and all courses may run ill"...

August 28, 2011, 04:19:17 AM
Reply #2

MarcinS

  • *****
  • Information Offline
  • Knight
  • Posts: 1060
Re: Gemp-LotR Online teaser
« Reply #2 on: August 28, 2011, 04:19:17 AM »
It looks great, no doubt about that. What are the advantages compared to GCCG?
1. No installation required.
2. Works on all platforms.
3. Faster gameplay, as you don't have to manually add twilight, wounds, etc.
4. No cheating possible, therefore fair competition, so leagues and tournaments are a possibility.
5. Extensibility, hence I can build extra features on top of the platform, like sealed leagues, where you are allowed to build a deck and play only with cards you have in that league for the duration of the league, etc.
New/old way to play Lord of the Rings online.
Give Gemp-LotR a try.
All sets are finished

August 28, 2011, 04:53:09 AM
Reply #3

Gil-Estel

  • *****
  • Information Offline
  • King
  • Posts: 2267
  • Abuser of the Force
Re: Gemp-LotR Online teaser
« Reply #3 on: August 28, 2011, 04:53:09 AM »
Well, I'm intrigued.....
..."Elves seldom give unguarded advice, for advice is a dangerous gift, even from the wise to the wise, and all courses may run ill"...

August 28, 2011, 08:18:52 AM
Reply #4

Kralik

  • Guest
Re: Gemp-LotR Online teaser
« Reply #4 on: August 28, 2011, 08:18:52 AM »
4. No cheating possible, therefore fair competition, so leagues and tournaments are a possibility.

Cheating is very difficult on GCCG, and amount more to "sleight of hand" versus anything (like playing a card from your collection and hoping your opponent doesn't notice). Other cheating is blatantly obvious (Mager moving draw decks around...)

August 29, 2011, 09:11:00 AM
Reply #5

MarcinS

  • *****
  • Information Offline
  • Knight
  • Posts: 1060
Re: Gemp-LotR Online teaser
« Reply #5 on: August 29, 2011, 09:11:00 AM »
Short update on status of the project:
60/365 cards from FotR implemented
5/365 cards from FotR tested
1 critical client feature missing - choosing required Action to play from multiple triggering at the same time
1 critical server feature missing - win/lose conditions (burders, loss of ring-bearer, safely arriving at site 9)
New/old way to play Lord of the Rings online.
Give Gemp-LotR a try.
All sets are finished

August 29, 2011, 11:48:56 AM
Reply #6

FM

  • Future Judge
  • *******
  • Information Offline
  • Wizard
  • Posts: 4074
Re: Gemp-LotR Online teaser
« Reply #6 on: August 29, 2011, 11:48:56 AM »
Cheating is very difficult on GCCG, and amount more to "sleight of hand" versus anything (like playing a card from your collection and hoping your opponent doesn't notice). Other cheating is blatantly obvious (Mager moving draw decks around...)

Yes, but this system would get completely around it, meaning no player would have to be frustrated when playing Mager since people would get no chance to be a #$&*@! other than by means of chat (which is always available anyway, so...). Browser playability is also very cool...

August 29, 2011, 01:17:44 PM
Reply #7

CoS

  • *****
  • Information Offline
  • Villager
  • Moderator
  • Posts: 293
  • Battletech, Overpower, and LOTR TCG- all dead :(
Re: Gemp-LotR Online teaser
« Reply #7 on: August 29, 2011, 01:17:44 PM »
Will it play on an Iphone4? Without flash?

August 29, 2011, 01:59:27 PM
Reply #8

MarcinS

  • *****
  • Information Offline
  • Knight
  • Posts: 1060
Re: Gemp-LotR Online teaser
« Reply #8 on: August 29, 2011, 01:59:27 PM »
Will it play on an Iphone4? Without flash?
I'd say 99% yes, I think it runs Safari web browser, right?
New/old way to play Lord of the Rings online.
Give Gemp-LotR a try.
All sets are finished

August 30, 2011, 05:41:03 AM
Reply #9

MarcinS

  • *****
  • Information Offline
  • Knight
  • Posts: 1060
Re: Gemp-LotR Online teaser
« Reply #9 on: August 30, 2011, 05:41:03 AM »
Another list updates:
I have put the code on Google Code, so you can monitor the progress (I'm trying to put descriptive comments on commits), take a look at the code if you're interested, or even implement some cards if you can stand up to the challenge. It's not so difficult, as 90% of the cards is just typing mechanical work, especially the minions. Most of the time you can just copy/paste code from another card and do some minor changes and you're done. The larger amount of cards that are implement, the faster it becomes.

The project is here:
http://code.google.com/p/gemp-lotr/updates/list

I've done roughly 10 cards today, so getting to ~70/365, I've also done some testing yesterday and fixed some major issues with the cards, so I guess I'm doing a good progress.

I'll try to do some iPhone testing today or tomorrow. I'll post here, what's the result.
New/old way to play Lord of the Rings online.
Give Gemp-LotR a try.
All sets are finished

August 30, 2011, 06:56:15 AM
Reply #10

FM

  • Future Judge
  • *******
  • Information Offline
  • Wizard
  • Posts: 4074
Re: Gemp-LotR Online teaser
« Reply #10 on: August 30, 2011, 06:56:15 AM »
Ok, send me a PM with what format you need cards typed in (and what file type, as well), and I'll do as many as I can and send them back.

August 30, 2011, 07:04:48 AM
Reply #11

MarcinS

  • *****
  • Information Offline
  • Knight
  • Posts: 1060
Re: Gemp-LotR Online teaser
« Reply #11 on: August 30, 2011, 07:04:48 AM »
Ok, send me a PM with what format you need cards typed in (and what file type, as well), and I'll do as many as I can and send them back.

I might have mis-expressed myself. What I mean was to actually implement the cards. It's not so difficult, if you actually know Java language, here is an example of a simple card (Bred for Battle). It requires not much thinking, just typing:

Code: [Select]
public class Card1_121 extends AbstractLotroCardBlueprint {
    public Card1_121() {
        super(Side.SHADOW, CardType.EVENT, Culture.ISENGARD, "[card=01121]Bred for Battle[/card]", "1_121");
        addKeyword(Keyword.SKIRMISH);
    }

    @Override
    public int getTwilightCost() {
        return 0;
    }

    @Override
    public List<? extends Action> getPlayablePhaseActions(String playerId, LotroGame game, final PhysicalCard self) {
        if (PlayConditions.canPlayShadowCardDuringPhase(game.getGameState(), game.getModifiersQuerying(), Phase.SKIRMISH, self)
                && Filters.canSpot(game.getGameState(), game.getModifiersQuerying(), Filters.keyword(Keyword.URUK_HAI), Filters.canExert())) {
            final PlayEventAction action = new PlayEventAction(self);
            action.addCost(
                    new ChooseActiveCardEffect(playerId, "Choose an Uruk-hai", Filters.keyword(Keyword.URUK_HAI), Filters.canExert()) {
                        @Override
                        protected void cardSelected(LotroGame game, PhysicalCard urukHai) {
                            action.addCost(new ExertCharacterEffect(urukHai));
                            action.addEffect(
                                    new AddUntilEndOfPhaseModifierEffect(
                                            new StrengthModifier(self, Filters.sameCard(urukHai), 3), Phase.SKIRMISH));
                        }
                    }
            );

            return Collections.singletonList(action);
        }
        return null;
    }
}
New/old way to play Lord of the Rings online.
Give Gemp-LotR a try.
All sets are finished

August 30, 2011, 07:06:20 AM
Reply #12

FM

  • Future Judge
  • *******
  • Information Offline
  • Wizard
  • Posts: 4074
Re: Gemp-LotR Online teaser
« Reply #12 on: August 30, 2011, 07:06:20 AM »
Ok, we'll talk by PMs.

August 30, 2011, 08:08:32 AM
Reply #13

CoS

  • *****
  • Information Offline
  • Villager
  • Moderator
  • Posts: 293
  • Battletech, Overpower, and LOTR TCG- all dead :(
Re: Gemp-LotR Online teaser
« Reply #13 on: August 30, 2011, 08:08:32 AM »
I would be thrilled with LoTR via my Iphone4! Put me on the test group list, I beta tested LotRO for Worlds Apart back in the day :)

August 31, 2011, 02:36:36 PM
Reply #14

MarcinS

  • *****
  • Information Offline
  • Knight
  • Posts: 1060
Re: Gemp-LotR Online teaser
« Reply #14 on: August 31, 2011, 02:36:36 PM »
Another progress report:
All Dwarven+Elven+Isengard+Rings implemented, I also did some sites which means:
122/365 (that's over 1/3)
I've done some testing as well, as cleaned up the code to make it more difficult for me to mess up the card code, so it might need less testing.
New/old way to play Lord of the Rings online.
Give Gemp-LotR a try.
All sets are finished