[3.2][3.3][DEV] Hangman - Resurrected

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Mike-on-Tour
Registered User
Posts: 505
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

[3.2][3.3][DEV] Hangman - Resurrected

Post by Mike-on-Tour »

Extension Name: Hangman Game

Image Image

Author: Mike-on-Tour
Extension Description:Since users in one of the boards I manage kept asking (the Hangman mod was installed back when we used phpBB 3.0.x) I've worked a little bit on dmzx's abandonded extension - after I got his approval, thanks again.

What is new or has changed?
  • I changed the layout
  • There are no longer hard coded quotes, instead every user can enter terms or quotes which are stored in a database table
  • Every term or quote is used only once so your users will not see a riddle already solved (which means that they should enter a new one after playing)
  • Users will not get their own terms or quotes to solve
  • A term may consist of letters (characters) and spaces, the latter to enable sentences to be quoted; the term must not contain punctuation marks, special characters and digits
  • Since some languages have additional letters it is possible to define the available letters for the game within the language file
  • The number of points a player will gain by solving or losing a game, for guessing a correct letter, for entering a new term into the database and the number of lives to be used in a game can be defined in the ACP
  • Every player is logged in a highscore list
  • Letters can be chosen by either keyboard or mouse pointer
Requirements: phpBB 3.2.11: PHP 7.2 + / phpBB 3.3.x: PHP < 8.3
Download: https://www.mike-on-tour.com/mot/mot_hangman.php
Languages: de (formal und informal), en
Styles: prosilver
Github repository: https://github.com/Mike-on-Tour/hangman
Screen shots:
Game tab:
Hangman_Game.png
Input tab:
Hangman_TermInput.png
Highscore tab:
Hangman_Highscore.png
Hall of Fame:
Hangman_HallOfFame.png
Summary:
Hangman_Summary.png
ACP Settings tab:
Hangman_Settings.png
You do not have the required permissions to view the files attached to this post.
Last edited by Mike-on-Tour on Wed Mar 20, 2024 9:30 pm, edited 6 times in total.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
Midway
Registered User
Posts: 76
Joined: Tue Dec 09, 2014 8:02 pm

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Midway »

Hi Mike-on-Tour,

Glad to see that you have taken over this extension, but how do you get rid of the Highscore ?
User avatar
Mike-on-Tour
Registered User
Posts: 505
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Mike-on-Tour »

Why would you want to delete it?
Right now only by purging the table with phpMyAdmin.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
Midway
Registered User
Posts: 76
Joined: Tue Dec 09, 2014 8:02 pm

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Midway »

now I have only two member, imagine if I have 50 member with score ?
You do not have the required permissions to view the files attached to this post.
User avatar
warmweer
Jr. Extension Validator
Posts: 11487
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by warmweer »

Midway wrote: Thu Mar 04, 2021 5:15 pm Glad to see that you have taken over this extension, but how do you get rid of the Highscore ?
That depends on what "getting rid of the high score" implies.
  1. do you want to stop recording high scores and remove that field completely, or
  2. do you want to reset all players' scores to 0, or
  3. something else?
The first requires edits to the extension (and would defeat one of the purposes of the game).
The second is just a matter of purging the table (as Mike-on-Tour mentioned) and is independent of the number of records in the table.
The third calls for more info.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Mike-on-Tour
Registered User
Posts: 505
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Mike-on-Tour »

I have nothing to add to what warmweer already said, but:
Midway wrote: Thu Mar 04, 2021 6:24 pm now I have only two member, imagine if I have 50 member with score ?
Why is that a concern to you? Because of the length of the table? Don't worry, with more than 25 users in the highscore list the pagination will set in.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
Midway
Registered User
Posts: 76
Joined: Tue Dec 09, 2014 8:02 pm

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Midway »

with the hangman extension of dmzx version 1.0.0
I didn't need to go through phpMyAdmin
to empty the table, it was necessary to go into the acp to do it
do you understand me better?

Edit: as you requested the link to the mod on phpBB.de, here it is
http://area53.die-muellers.org/dm_eds/showcat.php?id=5
You do not have the required permissions to view the files attached to this post.
User avatar
Mike-on-Tour
Registered User
Posts: 505
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Mike-on-Tour »

Thank you for the download link, I will take a look into this mod.
It shouldn't be too hard to insert a button to clear the highscore table, I will take this into account when preparing the next version.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
Midway
Registered User
Posts: 76
Joined: Tue Dec 09, 2014 8:02 pm

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Midway »

Okay thanks a lot
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Miri4ever »

Looking nice so far even much better design style than the old version I got before. I like those tabs.

The only bad thing are the hardcoded colors inside the CSS File so that it only works with prosilver white themes and I need to adjust first for my dark style before I can test it closer.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
Mike-on-Tour
Registered User
Posts: 505
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Mike-on-Tour »

I'm trying to change the css with the next version.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Miri4ever »

Thanks and I may can do some more fixes for users using PBWow Style if I got time. First I need the new design and the old one before with this hardcoded answers was really. . . . This all here looks so far much better and save me a lot of work with the styling.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
Midway
Registered User
Posts: 76
Joined: Tue Dec 09, 2014 8:02 pm

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Midway »

Hello Mike-on-Tour,

I have installed the latest version since github and it's great I can empty the hangman table
thanks you for your work ;)
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Miri4ever »

I was trying to work a little bit with this version.

I entered some words to play and also got the 8 points and it told me it's successful saved inside the database. But if I hit the play button it always tell me I need to enter some words first. But I did at least 4 times and all got the same result.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
Mike-on-Tour
Registered User
Posts: 505
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][DEV] Hangman - Resurrected

Post by Mike-on-Tour »

@Midway
Good that you like it, but the honor isn't mine, that is a pull request from rmcgirr83 - you should say thanks to him :D

@Miri4ever
That is normal behaviour, please read the text in the Input tab, it says that you will not be offered your own terms. If you don't have one already, create a test user and input some terms via this account and you will be able to start a game
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image

Return to “Extensions in Development”