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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hangman
Author Message
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #7
RE: Hangman
Easies way for buttons

Code:
ON=1
Letter_Try A
ON=2
Letter_Try B
ON=3
Letter_Try C
ON=4
Letter_Try D
ON=5
Letter_Try E
ON=6
Letter_Try F
ON=7
Letter_Try G
ON=8
Letter_Try H
ON=9
Letter_Try I
ON=10
Letter_Try J
ON=11
Letter_Try K
ON=12
Letter_Try L
ON=13
Letter_Try M
ON=14
Letter_Try N
ON=15
Letter_Try O
ON=16
Letter_Try P
ON=17
Letter_Try Q
ON=18
Letter_Try R
ON=19
Letter_Try S
ON=20
Letter_Try T
ON=21
Letter_Try U
ON=22
Letter_Try V
ON=23
Letter_Try W
ON=24
Letter_Try X
ON=25
Letter_Try Y
ON=26
Letter_Try Z

Add this:
Code:
[DEFNAME hangman_defs]
hangman_words=A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,V,W,X,Y,Z

and change code with this;
Code:
On=1 26
LOCAL.DARGN=<EVAL <DARGN>-1>
ARGS=<DEF.hangman_words>
LETTER_TRY <ARGV[<DLOCAL.DARGN>]>

Also only for suggestion, if you use TAG0 for integers, like tag.hangman.tries -> tag0.hangman.tries, it could be better for you, honestly, I only using tag for variables with word.
(This post was last modified: 02-16-2017 07:51 PM by xwerswoodx.)
02-16-2017 02:59 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes xwerswoodx's post
Post Reply 


Messages In This Thread
Hangman - Catalan_mistral - 02-16-2017, 12:40 AM
RE: Hangman - Antoska - 02-16-2017, 01:04 AM
RE: Hangman - Catalan_mistral - 02-16-2017, 01:20 AM
RE: Hangman - darksun84 - 02-16-2017, 02:15 AM
RE: Hangman - Catalan_mistral - 02-16-2017, 05:12 AM
RE: Hangman - Catalan_mistral - 02-16-2017, 06:46 AM
RE: Hangman - xwerswoodx - 02-16-2017 02:59 PM
RE: Hangman - Catalan_mistral - 02-17-2017, 12:11 AM

Forum Jump:


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