[ABD] Texas hold'em game using phpbb3 authentication

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

[ABD] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

Hi,

I've put back the description of what it is since I've already posted this in area51 but it turns out not the right place. This is a working in progress side project which I've just finished adding authentication support for both v3.0.x and v3.1 beta 4 . As soon as I've fixed all few minor issues, I'll be ready to roll out the demo and documention along how to install and configure the game.

To those who have looked for similar type of game but have found none. It may exist but free, I doubt. Actually, there is hope. Please read on!

Would it be something that will be big interest to the phpbb3 community to be able to play real time multiplayer texas hold'em and some of its variant (telesina, crazy pineapple, omaha) all in the same package?


Is this possible? Yes, I've already set it up on test vps using latest stable version of phpBB v3.1 beta 4.

Let me give more details of what it is?

It's a whole full kit that everyone which as basic linux knowledgeable can install and configure on its own vps or dedicated server. Though the code is in Java, it can be installed on a Windows machine. Some minimum of specification of the vps is required though. It has a full game server, HTML5 game client and a board service to bridge with phpbb3 forum software.

Specifications:

1. Cubeia server/client open source AGPL3 licence. Everything is written in Java.

Description:
The poker game logic is written by Cubeia but is an open source under AGPL3 licence. That poker engine has been tested on live site which makes it rock solid enough to install the game fun for forum.

There is also an admin console which allows you to configure tables, timings and poker type.

There is also an account manager console which allows you to transfer money to forum members if they ever run out of cash. This has to be done manually by the admin.

2. Board-Service (This is my side project which is an external module which bridges Cubeia's poker game to any forum software providing you add code to support it). This is also written in Java.

A board service has been already written to handle authentication to the game using phpbb3 authentication mechanism to authenticate members to the game. The board service has the intelligence to map forum user id with Cubeia'sgame server cash account id so that the next time he replays the game, his/her own cash balance is preserved.

3. An installed site with PhpBB3 forum software v3.0.x or v3.1.x

So there is no cost involved. Everything is free if you abide to AGPL3 licence.

About security issues, everything is secure since everything get installed on your own site using your own root and database credentials . Thus, the game configuration is completely private. The poker game is using phpBB3's authentication which is blowfish crypting in v3.1 to allow access to the game. You will be only able to log in to the game client using the same credentials as you will log in to your forum site. Any password change is reflected instantly.

As this is a separate web application but uses phpBB3 authentication, I hope it's allowed to post the DEV topic here.

IMO members of community who like poker will feel like right home. So what do you think?

If you have more questions, I'll be glad to answer. I'll try to post some screen shots soon.

Boardservice is now open source: Download at : https://github.com/LuckyRiver/Boardservice

For instructions how to install it , please visit: http://boardservice.org/community

Demo:
Test account sign up on http://boardservice.org/phpBB3
where phpBB3 v3 RC4 is installed.

Poker game which uses boardservice open source GPLv2 licence and runs integrated with phpBB3 v3.1 RC4:
http://boardservice.org:8181/poker/cubeiaclassic/


IAL
Last edited by IAmLegend on Sat Sep 27, 2014 2:34 am, edited 4 times in total.
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Texas hold'em game using phpbb3 authentication

Post by Mess »

Looking forward to see it in action. :)
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

Re: [DEV] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

Mess wrote:Looking forward to see it in action. :)
Here you go:

@Moderator(s), the below urls are the test site demo urls as described in this topic, I hope they are allowed to post. If not, how I can made them available to showcase the game.

Demo is only on v3.1B4 code.

Test account sign up: http://boardservice.org/phpBB3
Texas Hold'em game: http://boardservice.org:8181/poker/cubeiaclassic/

You must have an avatar if you want to see it in game, otherwise a default will be given.
Currently it only supports uploaded avatar type. Haven't time to work on gallery or remote avatar url yet.

Bring a friend, pick a table and join the game. The game only starts when there are 2 players.

This is not the latest poker source code from Cubeia as I'm working to upgrade it. So whenever it's ready, I will deploy it.

IAL
Last edited by IAmLegend on Sat Sep 27, 2014 2:35 am, edited 1 time in total.
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

Re: [DEV] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

Here is what the game will look like once you logged on using phpBB3 forum credentials. I've launched a few batches of bots to play with. There is still bugs here and there which need to be fixed but overall, the game is playable enough to show some variants of Texas Hold'em as Crazy Holdem and Omaha.

https://www.youtube.com/watch?v=68rZLmt ... e=youtu.be
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

Hi,

Just keep everyone update , the current code has been stable enough since everything works in concert now with the backoffice who handles money transaction.

As the first time you log on to the game, 50000$ play money will be given. You will be able to play til you run out of money. I'm currently updating documentation and preparing for the BETA release how to install the game on a vps.

Milestones:

- Texas Variants: Texas Hold'em, Omaha, Crazy Pineaple, Telesina, 7 card Stud, 5 card stud, on the demo site, I configure all of them to showcase the game style that they are playable.

- Cash persistence is now working integrated with forum. Your forum name is tighted to the accounting server for money transactions. Whenever you won or lost is retrieved back as you last have when you leave the game.

- Sit'n Go tournament is now fully functionning. There are few of them you can play to win 1st and 2nd prize if you end up in the top.

- Untested scheduled tournament but it should be working as sit'n go triggering on a particular date you set in the admin console.

- Still need to fix avatar display issue. The avatar is currently displayed fine for the other participants but not the main player.

That's it that's all. If you haven't had time to try it out. Please do!

Test account sign up: http://192.3.116.20/poker
Texas Hold'em game: http://192.3.116.20:8181


/IAL
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

Last edited by IAmLegend on Sat Sep 27, 2014 2:36 am, edited 1 time in total.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by david63 »

Out of curiosity how does this system integrate with phpBB from a licence perspective?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

david63 wrote:Out of curiosity how does this system integrate with phpBB from a licence perspective?
There is no cost involved to use the software as Cubeia has this version released as open source before they decide no longer to offer it as open source (http://www.cubeia.org/cubeia-poker/).

This version is an AGPL3 version which you can use freely as it is a community version providing you abide to AGPL3 open source licence rules.

For real licence , you need to see http://www.cubeia.com/cubeia-poker/ if you want a licence/commercial version which provide missing features, see comparison charts on the abover url.

The only difference with mine is the custom board-service which is externally developed by me to integrate forums. Cubeia has wordpress integration plug in though. Thus I own the source code of board service which I release it free as well. I could make a licence out of the board service module but I don't since there is plan I release it as open source as well.

So to explain the integration with phpBB3. This system is compiled straight from latest AGPL source code from Cubeia. phpBB or other supported boards like Xenforo, IPB which are paid licences used board-service at game server startup to interface with phpBB or other forum database but strictly on read only calls to authenticate user and pull out members profile for use in game display.

I'm not sure if I answer your question though since to use this soon release version, the only licence you need is if you go for paid board like IPB/Xenforo since you need to buy a licence to install the forum software but since phpBB3 is open source, there is no cost at all to install and use it. This is not my first release of the game. I've released the V2 version in the past on ipb and xenforo sites as I've the software licences to allow me to add authentication support for those 2 paid boards.

Something I need to explain is the game server runs in stand alone independant of any forum software. It only use the forum database through configuration, thus the forum can be hosted in another server while the game is an another server. I did some tests already but for my demo, everything runs on the same server.

/IAL
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by Darkness_demoN »

I play a bit with bots and its good. One question how to buy credits ? From who i will buy them ? That credits from where will come ?
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by noth »

was there anything comparable to this in 3.0.x ?
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

Darkness_demoN wrote:I play a bit with bots and its good. One question how to buy credits ? From who i will buy them ? That credits from where will come ?
Thanks for your interests. The poker engine is the same one used in http://quarterpoker.com. I've played overthere, it sports the same look and feel and there is very good players overthere and sit-n-go tourneys hard to win with real players.

To answer your question, Cubeia came with 3 additional modules.
Backoffice which allows you to manage moneteray transactions.

Poker-Admin which allows timings and specific game style , table configurations and much more.
Bots-controller which allow you to test out the game or like I did to allow visitors to play with.

Thus as administrator you manage all the monetary transactions through the admin console where you credit/debit money to/from players. If a user runs out of money, you just go to the admin console and transfer him/her more money.

The admin console has its own security which you need to set up who can access and the permissions.
To explain the money transfer, I've made some screenshots to show that I've give 50000$ credit to myself.

http://boardservice.org/gallery/BackOffice-1.jpg
http://boardservice.org/gallery/BackOffice-2.jpg
http://boardservice.org/gallery/BackOffice-3.jpg
http://boardservice.org/gallery/BackOffice-4.jpg
http://boardservice.org/gallery/BackOffice-5.jpg
http://boardservice.org/gallery/BackOffice-6.jpg
http://boardservice.org/gallery/BackOffice-7.jpg
http://boardservice.org/gallery/BackOffice-8.jpg
http://boardservice.org/gallery/BackOffice-9.jpg
http://boardservice.org/gallery/BackOffice-10.jpg
http://boardservice.org/gallery/BackOffice-11.jpg
http://boardservice.org/gallery/BackOffice-12.jpg

Login to the game after transaction

http://boardservice.org/gallery/IAmLege ... action.jpg


It is possible to provide API for php client to call to perform such tasks. This can be done through web services which can be called through javascript. But this goes beyond my initial goal.
Last edited by IAmLegend on Sat Sep 27, 2014 2:40 am, edited 4 times in total.
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

noth wrote:was there anything comparable to this in 3.0.x ?
Yes, it's supported through configuration file. For demo, I've configured it to use with 3.1.x but 3.0.x is supported due to phpBB3 uses different authentication algorithm but much more less complex than the one done in 3.1.x. So, picture the site where I demo the game as if you were running 3.0.12 version :D
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by DavidIQ »

IAmLegend wrote:1. Cubeia server/client open source AGPL3 licence. Everything is written in Java.
Hello there,

This license is not compatible with the GPLv2, which is what phpBB uses. As such you might have a hard time getting this through validation if it ever gets there. You should consider changing the license you're using if you intend to get this into the Extensions database here.

Thank you.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
IAmLegend
Registered User
Posts: 15
Joined: Wed Jun 04, 2014 2:38 pm

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by IAmLegend »

DavidIQ wrote:
IAmLegend wrote:1. Cubeia server/client open source AGPL3 licence. Everything is written in Java.
Hello there,

This license is not compatible with the GPLv2, which is what phpBB uses. As such you might have a hard time getting this through validation if it ever gets there. You should consider changing the license you're using if you intend to get this into the Extensions database here.

Thank you.
Hi DavidIQ,

Thanks for raising concerns about licence conflict but I believe it does not matter since the game does not use any phpbb code at all. The AGPL3 community licence just allows you to install the game server from Cubeia. May be when this get released, you get better idea of what it is. I just want to make sure that everyone knows that the code does not affect anything phpcode from phpBB3.

The site phpbb3 could reside elsewhere, while the server connects to a phpbb3 database and performs authentication of user. It does not have to be compatible of the GPLv2 since it does not interfere or interface anything with phpBB. Thus makes it freedom to use.

From legal point of view, the game server (AGPL3 licence) interacts with phpBB3 database and that's all it does. It does not modify any php code of the phpbb3. Simply as it is. Thus, correct me if I'm wrong I don't see any issue of licence since it does not ever require one to use a forum database, right?


Regards,

/IAL
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [ALPHA] Texas hold'em game using phpbb3 authentication

Post by david63 »

Wrong - I believe.

If it is installed within phpBB then it will have to comply with the phpBB licensing requirements - it is totally irrelevant that it does not alter any code - in fact no extension will "alter" phpBB code.

This is why I asked the question earlier.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Locked

Return to “Abandoned Extensions”