Search found 67 matches

by salty-horse
29 February 2024, 08:02
Forum: Developers
Topic: game option with minplayers not showing on higher counts
Replies: 4
Views: 510

Re: game option with minplayers not showing on higher counts

Sorry, I forgot the repositoey was still private. Fixed.

I understand displaycondition.

The link is to my old options file before I switched to the array approach for the value.
by salty-horse
25 February 2024, 12:09
Forum: Developers
Topic: game option with minplayers not showing on higher counts
Replies: 4
Views: 510

Re: game option with minplayers not showing on higher counts

The wiki says that the value can be an array of exact values - this works fine.
But the ranged form of using minplayers and/or maxplayers with an integer value seems buggy.
by salty-horse
24 February 2024, 20:47
Forum: Developers
Topic: game option with minplayers not showing on higher counts
Replies: 4
Views: 510

game option with minplayers not showing on higher counts

I have an option with this display condition: "displaycondition": [ { "type": "minplayers", "value": 5 } ] My game supports up to 6 players. If I create a table, as I increase the player count from 2, that option appears when I reach 5 players, but disappears ...
by salty-horse
05 February 2024, 10:24
Forum: Developers
Topic: Mixed number and string types in playerorder array
Replies: 7
Views: 1421

Re: Mixed number and string types in playerorder array

Find the left and right neighbors of the player. I know there are PHP functions for it (getPlayerBefore/After), but couldn't find JS ones, and it felt silly to pass it in gamedatas.
by salty-horse
03 February 2024, 17:21
Forum: Developers
Topic: Mixed number and string types in playerorder array
Replies: 7
Views: 1421

Re: Mixed number and string types in playerorder array

One way this affects me is when using indexOf() to find the player's position in the turn order. I have to "normalize" the array before searching.
by salty-horse
16 May 2023, 20:12
Forum: Developers
Topic: @import in CSS file - can I load external fonts from CSP-approved domains?
Replies: 2
Views: 444

@import in CSS file - can I load external fonts from CSP-approved domains?

I asked this on Discord, but am looking for an official answer. The top of the default project's CSS file says: @import url(../../../css/csslayer.css); /* Note: you must not use any @import directive other than this one */ What does this mean in practice? Are other @import rules stripped away when a...
by salty-horse
03 May 2023, 15:17
Forum: "Alpha" games
Topic: Vidrasso (2p trick taker) is now in alpha!
Replies: 1
Views: 429

Vidrasso (2p trick taker) is now in alpha!

Vidrasso is a simple two-player trick-taking game from Sean Ross (of Haggis fame). Highlights: * Uses the 1-9 cards from a traditional deck (4 suits). * A race to collect the most points in captured tricks. * Cards are worth their face value, but lower cards are stronger! * At the start of each hand...
by salty-horse
25 April 2023, 11:01
Forum: Teotihuacan: City of Gods
Topic: Technology tile distribution
Replies: 9
Views: 1722

Re: Technology tile distribution

Well, partial fix :) I have a fix for the cost, it's waiting for deployment.
Also, since I missed some checks in the original fix, the game might get into an unrecoverable state if it allows you to choose the Tech board but you can't actually purchase anything. Sorry if that happens.
by salty-horse
20 April 2023, 12:02
Forum: Teotihuacan: City of Gods
Topic: Technology tile distribution
Replies: 9
Views: 1722

Re: Technology tile distribution

Fixed now :)
No-one is currently maintaining the project beyond translation fixes.

Go to advanced search