Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
f09f0dc2
Commit
f09f0dc2
authored
15 years ago
by
mcmlxxix
Browse files
Options
Downloads
Patches
Plain Diff
Just code formatting, I think..
parent
aaba9a96
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
xtrn/bublbogl/boggle.js
+491
-491
491 additions, 491 deletions
xtrn/bublbogl/boggle.js
with
491 additions
and
491 deletions
xtrn/bublbogl/boggle.js
+
491
−
491
View file @
f09f0dc2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
Dictionary files created from ENABLe gaming dictionary
Dictionary files created from ENABLe gaming dictionary
for customization or installation help contact:
for customization or installation help contact:
Matt Johnson ( MCMLXXIX@
MDJ.ATH.CX
)
Matt Johnson ( MCMLXXIX@
BBS.THEBROKENBUBBLE.COM
)
*/
*/
var
gameroot
;
var
gameroot
;
...
@@ -26,8 +26,6 @@ var interbbs=argv[0];
...
@@ -26,8 +26,6 @@ var interbbs=argv[0];
var
stream
=
interbbs
?
new
ServiceConnection
(
"
boggle
"
):
false
;
var
stream
=
interbbs
?
new
ServiceConnection
(
"
boggle
"
):
false
;
var
oldpass
=
console
.
ctrl_key_passthru
;
var
oldpass
=
console
.
ctrl_key_passthru
;
function
boggle
()
{
var
wordvalues
=
[];
var
wordvalues
=
[];
wordvalues
[
4
]
=
1
;
wordvalues
[
4
]
=
1
;
wordvalues
[
5
]
=
2
;
wordvalues
[
5
]
=
2
;
...
@@ -49,6 +47,8 @@ function boggle()
...
@@ -49,6 +47,8 @@ function boggle()
var
playing_game
=
false
;
var
playing_game
=
false
;
var
clearalert
=
false
;
var
clearalert
=
false
;
function
boggle
()
{
function
init
()
function
init
()
{
{
if
(
interbbs
)
getFiles
();
if
(
interbbs
)
getFiles
();
...
@@ -453,7 +453,7 @@ function boggle()
...
@@ -453,7 +453,7 @@ function boggle()
{
{
var
score
=
scores
[
s
];
var
score
=
scores
[
s
];
var
plays
=
players
.
getDayCount
(
score
.
name
);
var
plays
=
players
.
getDayCount
(
score
.
name
);
if
(
play
s
>
0
)
if
(
score
.
point
s
>
0
)
{
{
if
(
score
.
name
==
user
.
alias
)
console
.
attributes
=
LIGHTGREEN
;
if
(
score
.
name
==
user
.
alias
)
console
.
attributes
=
LIGHTGREEN
;
else
console
.
attributes
=
GREEN
;
else
console
.
attributes
=
GREEN
;
...
@@ -507,6 +507,21 @@ function boggle()
...
@@ -507,6 +507,21 @@ function boggle()
init
();
init
();
main
();
main
();
splashExit
();
splashExit
();
}
function
getFiles
()
{
console
.
putmsg
(
"
\
1nPlease wait. Synchronizing game files with hub...
\r\n
"
);
stream
.
recvfile
(
"
*.bog
"
);
//stream.recvfile("players.ini");
//stream.recvfile("month.ini");
}
function
sendFiles
()
{
//stream.sendfile("*.bog");
stream
.
sendfile
(
"
players.ini
"
);
//stream.sendfile("month.ini");
}
//GAME OBJECTS
//GAME OBJECTS
function
Lobby
(
x
,
y
)
function
Lobby
(
x
,
y
)
...
@@ -1073,19 +1088,4 @@ function boggle()
...
@@ -1073,19 +1088,4 @@ function boggle()
this
.
board
.
draw
();
this
.
board
.
draw
();
}
}
}
}
}
function
getFiles
()
{
console
.
putmsg
(
"
\
1nPlease wait. Synchronizing game files with hub...
\r\n
"
);
stream
.
recvfile
(
"
*.bog
"
);
stream
.
recvfile
(
"
players.ini
"
);
stream
.
recvfile
(
"
month.ini
"
);
}
function
sendFiles
()
{
//stream.sendfile("*.bog");
stream
.
sendfile
(
"
players.ini
"
);
//stream.sendfile("month.ini");
}
boggle
();
boggle
();
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment