The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Advice
Author Message
Catalan_mistral
Journeyman
*

Posts: 54
Likes Given: 2
Likes Received: 6 in 5 posts
Joined: Jan 2017
Reputation: 0



Post: #1
Script Advice
On another of my posts I asked for ideas of games for my compendium, someone suggested a script for poker, so i have started working out certain aspects needed for it, I have been able to either use or adapt parts of my blackjack script, and i'm currently working on a way to work out the best hand from any given amount of cards from 5 to 7.

My current way of doing it is a series of tags, and checks based on the tags. The clickable item, dealing the cards, sorting the cards and scoring the cards works out at about 350 lines of code, still a couple of things to snag on it atm.

Now the question is, is this a good way of scripting the scoring aspect using tags and checks, or is 8500+ lines of defs like I saw in the other poker script a better way in respect to speed and resources?

The One and Only......
02-21-2017 10:13 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Script Advice - Catalan_mistral - 02-21-2017 10:13 AM
RE: Script Advice - rastrero - 03-10-2017, 01:32 AM
RE: Script Advice - Ben - 03-10-2017, 09:28 AM
RE: Script Advice - Coruja - 03-11-2017, 01:01 PM
RE: Script Advice - Catalan_mistral - 03-11-2017, 08:12 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)