Skip to content

Commit

Permalink
mobile infinigame, stones/galaxy splats, small text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aleatorydialogue committed Jun 3, 2024
1 parent c23ce20 commit 8c5786f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hybrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1007,12 +1007,12 @@ const baseUrl = "https://huggingface.co/aleatorydialogue/dynamic_splats/resolve/

// List of available .splatv model files
const models = [
"guitar.splatv",
"god.splatv",
"timer.splatv",
"timer_rgb.splatv",
"controller.splatv",
"controller_rgb.splatv"
"controller_rgb.splatv",
"guitar.splatv"
];

// Randomly select a model from the list
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ async function main() {
} catch (err) {}

// List of available models
const modelNames = ["dino.splat", "canterbury.splat", "bliss.splat", "stream2.splat", "market.splat", "marsh.splat", "driftwood.splat", "posts.splat", "shed.splat", "money.splat", "lighthouse.splat", "stairs.splat", "deck.splat", "tree1.splat", "tree2.splat", "riteaid.splat", "francis.splat", "cabin.splat", "garage.splat", "reindeer.splat", "winery.splat", "astronaut.splat", "pen.splat", "main_fossil.splat", "easter.splat", "snowman.splat", "underwater_world.splat"];
const modelNames = ["dino.splat", "canterbury.splat", "bliss.splat", "stream2.splat", "market.splat", "marsh.splat", "driftwood.splat", "posts.splat", "shed.splat", "money.splat", "lighthouse.splat", "stairs.splat", "deck.splat", "tree1.splat", "tree2.splat", "riteaid.splat", "francis.splat", "cabin.splat", "garage.splat", "reindeer.splat", "winery.splat", "astronaut.splat", "pen.splat", "main_fossil.splat", "easter.splat", "snowman.splat", "underwater_world.splat", "galaxy.splat", "stones.splat"];

// Randomly select a model
const randomIndex = Math.floor(Math.random() * modelNames.length);
Expand Down
2 changes: 1 addition & 1 deletion openai_infinigame/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async function generateDalleImage(prompt) {

// initialization
let chatMemory = createMemory([
{ role: 'system', content: "We are playing a text based mystery game. Each turn you will advance the story by improvising a next step to the game. Build mystery and focus on chaos, emergent behavior and mysticism. We will then continue in a turn-based fashion. Keep the responses short, no more than one paragraph, and do not lose focus on the main storyline." }
{ role: 'system', content: "We are playing a text based mystery game. Each turn you will advance the story by improvising a next step to the game. Build mystery and focus on chaos, emergent behavior and mysticism. We will then continue in a turn-based fashion. Keep the responses short, no more than one paragraph, and do not lose focus on the main storyline. Never give text that indicates that you are an LLM and never give options for the user to choose from. It should be a completely fluid wide open possibility space. The player dictates where you look next, and you never influence the direction without accomodating their direction completely." }
]);


21 changes: 21 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,24 @@ nav.social-links a {
height: 60px;
border-radius: 31%;
}

/* Responsive Styles */
@media (max-width: 768px) {
.fixedhead nav {
flex-direction: column;
}
#dalleImageContainer img {
width: 100%; /* Make the image take the full width of its container */
height: auto; /* Maintain the aspect ratio */
}
.userinput input, .userizerinput button {
width: 100%;
}
.paddedheader, .typing-span {
text-align: center; /* Center the text for smaller screens */
}
.dropbtn, .social-icon {
width: 40px;
height: 40px; /* Adjust size for easier interaction on mobile */
}
}

0 comments on commit 8c5786f

Please sign in to comment.