Skip to content

Commit f73d26b

Browse files
committed
Updatings URLs to fujillama.sypsoft.nz
1 parent 1a575fd commit f73d26b

File tree

6 files changed

+13
-15
lines changed

6 files changed

+13
-15
lines changed

Client/Atari/FujiLlama.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ UNIT=1
205205
JSON_MODE=1
206206
URL$=""
207207

208-
BaseURL$="N:https://fuji-llama-971660789205.asia-southeast1.run.app"
208+
BaseURL$="N:https://fujillama.sypsoft.nz"
209209
' BaseURL$="N:HTTP://192.168.68.100:8080"
210210
QUERY$=""$9B
211211
JSON$="/tables"

Client/Atari/Graphics.bas

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,6 @@ PROC DrawPlayerHand _col _row _numCards _folded
621621
ENDPROC
622622

623623

624-
625-
626624
' ============================================================================
627625
' Init screen/graphics - leaves screen blank. ShowScreen must be called afer
628626
PROC InitScreen

Client/Web/Game_Over.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<body>
2222

2323
<h2>The Game is Over! Here are the final results:
24-
<button onclick="fetch(`https://fuji-llama-971660789205.asia-southeast1.run.app/move?table=${tableId}&player=${playerName}&VM=G`).then(() => window.location.href='index.html')" style="margin: 10px;">Return to Table Selection</button>
24+
<button onclick="fetch(`https://fujillama.sypsoft.nz/move?table=${tableId}&player=${playerName}&VM=G`).then(() => window.location.href='index.html')" style="margin: 10px;">Return to Table Selection</button>
2525
</h2>
2626

2727

@@ -34,7 +34,7 @@ <h2>The Game is Over! Here are the final results:
3434
const tableId = urlParams.get('table') || 'default'; // Use 'default' as fallback
3535
const playerName = urlParams.get('player') || 'unknown'; // Use 'unknown' as fallback
3636
function fetchGameState() {
37-
fetch(`https://fuji-llama-971660789205.asia-southeast1.run.app/state?table=${tableId}&player=${playerName}`)
37+
fetch(`https://fujillama.sypsoft.nz/state?table=${tableId}&player=${playerName}`)
3838
.then(response => {
3939
if (!response.ok) {
4040
throw new Error(`HTTP error! status: ${response.status}`);

Client/Web/Play_Game.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2>Game State View<button onclick="window.location.href='index.html'" style="ma
3030
const tableId = urlParams.get('table') || 'default'; // Use 'default' as fallback
3131
let playerName = urlParams.get('player') || 'unknown'; // Use 'unknown' as fallback
3232
function fetchGameState() {
33-
fetch(`https://fuji-llama-971660789205.asia-southeast1.run.app/state?table=${tableId}&player=${playerName}`)
33+
fetch(`https://fujillama.sypsoft.nz/state?table=${tableId}&player=${playerName}`)
3434
.then(response => {
3535
if (!response.ok) {
3636
throw new Error(`HTTP error! status: ${response.status}`);
@@ -217,7 +217,7 @@ <h2>Game State View<button onclick="window.location.href='index.html'" style="ma
217217
const card = cardclicked;
218218

219219

220-
fetch('https://fuji-llama-971660789205.asia-southeast1.run.app/move?table=' + tableId + '&player=' + playerName + "&VM="+cardclicked)
220+
fetch('https://fujillama.sypsoft.nz/move?table=' + tableId + '&player=' + playerName + "&VM="+cardclicked)
221221
.then(response => {
222222
if (!response.ok) {
223223
throw new Error(`HTTP error! status: ${response.status}`);
@@ -235,7 +235,7 @@ <h2>Game State View<button onclick="window.location.href='index.html'" style="ma
235235

236236

237237
function moveDraw() {
238-
fetch('https://fuji-llama-971660789205.asia-southeast1.run.app/move?table=' + tableId + '&player=' + playerName+ "&VM=D")
238+
fetch('https://fujillama.sypsoft.nz/move?table=' + tableId + '&player=' + playerName+ "&VM=D")
239239
.then(response => {
240240
if (!response.ok) {
241241
throw new Error(`HTTP error! status: ${response.status}`);
@@ -251,7 +251,7 @@ <h2>Game State View<button onclick="window.location.href='index.html'" style="ma
251251
}
252252

253253
function moveFold() {
254-
fetch('https://fuji-llama-971660789205.asia-southeast1.run.app/move?table=' + tableId + '&player=' + playerName+ "&VM=F")
254+
fetch('https://fujillama.sypsoft.nz/move?table=' + tableId + '&player=' + playerName+ "&VM=F")
255255
.then(response => {
256256
if (!response.ok) {
257257
throw new Error(`HTTP error! status: ${response.status}`);
@@ -267,7 +267,7 @@ <h2>Game State View<button onclick="window.location.href='index.html'" style="ma
267267
}
268268

269269
function startGame() {
270-
fetch('https://fuji-llama-971660789205.asia-southeast1.run.app/start?table=' + tableId)
270+
fetch('https://fujillama.sypsoft.nz/start?table=' + tableId)
271271
.then(response => {
272272
if (!response.ok) {
273273
throw new Error(`HTTP error! status: ${response.status}`);
@@ -309,7 +309,7 @@ <h2>Game State View<button onclick="window.location.href='index.html'" style="ma
309309
// Smooth refresh every second
310310
setInterval(async () => {
311311
try {
312-
const response = await fetch(`https://fuji-llama-971660789205.asia-southeast1.run.app/state?table=${tableId}&player=${playerName}`);
312+
const response = await fetch(`https://fujillama.sypsoft.nz/state?table=${tableId}&player=${playerName}`);
313313
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
314314
const data = await response.json();
315315

Client/Web/Round_Over.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h2>Here are the results of the last round:
3333
const tableId = urlParams.get('table') || 'default'; // Use 'default' as fallback
3434
const playerName = urlParams.get('player') || 'unknown'; // Use 'unknown' as fallback
3535
function fetchGameState() {
36-
fetch(`https://fuji-llama-971660789205.asia-southeast1.run.app/move?table=${tableId}&player=${playerName}&VM=R`)
36+
fetch(`https://fujillama.sypsoft.nz/move?table=${tableId}&player=${playerName}&VM=R`)
3737
.then(response => {
3838
if (!response.ok) {
3939
throw new Error(`HTTP error! status: ${response.status}`);
@@ -43,7 +43,7 @@ <h2>Here are the results of the last round:
4343
.then(data => {
4444
displayTable(data);
4545
// Second fetch after first one succeeds
46-
return fetch(`https://fuji-llama-971660789205.asia-southeast1.run.app/state?table=${tableId}&player=${playerName}`);
46+
return fetch(`https://fujillama.sypsoft.nz/state?table=${tableId}&player=${playerName}`);
4747
})
4848
.then(response => {
4949
if (!response.ok) {

Client/Web/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1>Choose a table to join</h1>
4646
<script>
4747
document.addEventListener('DOMContentLoaded', () => {
4848
const tableBody = document.getElementById('dataTableBody');
49-
const apiUrl = 'https://fuji-llama-971660789205.asia-southeast1.run.app/tables';
49+
const apiUrl = 'https://fujillama.sypsoft.nz/tables';
5050

5151
async function fetchDataAndPopulateTable() {
5252
try {
@@ -140,7 +140,7 @@ <h1>Choose a table to join</h1>
140140
function openTableAndRefresh() {
141141
var tableId = document.getElementById('tableID').value;
142142
var playerName = document.getElementById('playerName').value;
143-
fetch('https://fuji-llama-971660789205.asia-southeast1.run.app/join?table=' + tableId + '&player=' + playerName)
143+
fetch('https://fujillama.sypsoft.nz/join?table=' + tableId + '&player=' + playerName)
144144
.then(async response => {
145145
if (!response.ok) {
146146
const errorData = await response.text();

0 commit comments

Comments
 (0)