This commit is contained in:
cool-mist 2025-05-01 15:17:10 +05:30
parent b52f6689fe
commit f5a687acb1
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Bangalore City Name Generator</title> <title>Bangalore Area Name Generator</title>
<style> <style>
html, html,
body, body,

View File

@ -1,8 +1,10 @@
use macroquad::prelude::*; use macroquad::prelude::*;
use macroquad::rand; use macroquad::rand;
use miniquad::date;
#[macroquad::main("MyGame")] #[macroquad::main("MyGame")]
async fn main() { async fn main() {
rand::srand(date::now() as u64);
let mut rand_name = String::from("Random bangalore area names"); let mut rand_name = String::from("Random bangalore area names");
let mut last_update = 0.0; let mut last_update = 0.0;
loop { loop {