Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
1518 lines (1404 loc) · 56.6 KB
/
Copy pathindex.html
File metadata and controls
1518 lines (1404 loc) · 56.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en" data-theme="dark">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta
content="Play 18+ beginner-friendly Python mini projects in your browser—games, math tools, and utilities with a modern dark/light UI."
name="description" />
<meta content="dark light" name="color-scheme" />
<meta content="#0c0f1a" id="themeColorMeta" name="theme-color" />
<meta http-equiv="Content-Security-Policy" content="
default-src 'self';
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net https://unpkg.com;
style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com;
font-src 'self' https://fonts.gstatic.com https://cdnjs.cloudflare.com;
img-src 'self' data:;
connect-src 'self' https://pyodide-cdn2.iodide.io;
base-uri 'self';
form-action 'self';
">
<meta content="Python Mini Projects — Web Edition" property="og:title" />
<meta content="Interactive games, math visualizations, and utilities—no install required."
property="og:description" />
<meta content="website" property="og:type" />
<meta content="https://github.com/steam-bell-92/python-mini-project" property="og:url" />
<meta content="summary" name="twitter:card" />
<meta content="Python Mini Projects — Web Edition" name="twitter:title" />
<meta content="Interactive games, math visualizations, and utilities in the browser." name="twitter:description" />
<title>Python Mini Projects — Interactive Web Edition</title>
<link href="assets/favicon.svg" rel="icon" type="image/svg+xml" />
<link rel="manifest" href="manifest.json" />
<link href="css/styles.css?v=3" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body class="sidebar-active">
<button type="button" class="mobile-menu-toggle" id="mobileMenuToggle" aria-label="Toggle sidebar"
aria-expanded="true">
<i class="fas fa-bars"></i>
</button>
<button aria-label="Switch theme" class="theme-toggle fixed-theme-toggle" id="fixed-theme-toggle" type="button">
<i class="fas fa-moon" aria-hidden="true"></i>
</button>
<!-- Scroll Progress Bar -->
<div id="scrollProgressContainer" aria-label="Page scroll progress">
<div id="scrollProgressBar"></div>
</div>
<a class="skip-link" href="#main-content">Skip to main content</a>
<!-- Cursor Glow -->
<div aria-hidden="true" class="cursor-glow" id="cursorGlow"></div>
<aside class="sidebar-dock" id="mainSidebar">
<div class="sidebar-search">
<div class="search-box" style="position: relative">
<i class="fas fa-search" aria-hidden="true"></i>
<input aria-label="Search projects" id="searchInput" placeholder="Search projects or tags..." type="text"
role="combobox" aria-autocomplete="list" aria-controls="resultsList" aria-expanded="false" />
<button id="clearSearchBtn" class="clear-search-btn" type="button" aria-label="Clear search" hidden>
<i class="fas fa-times"></i>
</button>
<div class="search-dropdown" id="searchDropdown" aria-live="polite">
<div class="dropdown-content" id="searchDropdownContent">
<div class="search-loader" id="searchLoader" style="display: none">
<div class="spinner"></div>
</div>
<div class="recent-searches-section" id="dropdownRecentSearchesSection">
<div class="dropdown-section-title">
<span>Recent</span>
<button id="clearRecentDropdownBtn" class="recent-clear-all-btn"
aria-label="Clear recent searches">Clear
All</button>
</div>
<div class="dropdown-list" id="dropdownRecentSearchesList"></div>
</div>
<div class="results-section" id="resultsSection" style="display: none">
<div class="dropdown-section-title">Projects</div>
<div class="dropdown-list" id="resultsList" role="listbox"></div>
</div>
<div class="tips-section" id="tipsSection">
<p><strong>Search tips</strong></p>
<ul>
<li>
Type a project name — <code>snake</code>, <code>quiz</code>
</li>
<li>
Filter by tag — <code>game</code>, <code>math</code>,
<code>utility</code>
</li>
</ul>
</div>
<div class="no-results-message" id="noResultsMessage" style="display: none">
No projects found. Try a different keyword.
</div>
</div>
</div>
</div>
</div>
<div class="recent-searches-section" id="sidebarRecentSearchesSection">
<div class="dropdown-section-title recent-searches-header"
style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;">
<span class="recent-searches-heading" style="color: #e2e8f0; font-weight: 500;">
<i class="fas fa-history" aria-hidden="true" style="margin-right: 6px; color: #a78bfa;"></i>
Search History
</span>
<button id="clearRecentSidebarBtn" class="recent-clear-all-btn" aria-label="Clear recent searches"
style="background: none; border: none; color: #ef4444; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 5px;">
<i class="fas fa-trash-alt"></i> Clear History
</button>
</div>
<div class="recent-searches-chips" id="sidebarRecentSearchesList" role="list"></div>
</div>
<div class="sidebar-menu-wrapper">
<div class="sidebar-menu-title">Categories</div>
<nav class="sidebar-menu" role="tablist" aria-label="Filter by category">
<button aria-selected="true" class="sidebar-tab active" data-category="all" role="tab" tabindex="0">
<span class="sidebar-icon"><svg data-lucide="layers"></svg></span>
<span class="sidebar-label">All Projects
<span id="allProjectsCountBadge">0</span>
</span>
</button>
<button aria-selected="false" class="sidebar-tab" data-category="games" role="tab" tabindex="-1">
<span class="sidebar-icon"><svg data-lucide="gamepad-2"></svg>
</span>
<span class="sidebar-label">
Games Arcade
<span id="gamesProjectsCountBadge">0</span>
</span>
</button>
<button aria-selected="false" class="sidebar-tab" data-category="math" role="tab" tabindex="-1">
<span class="sidebar-icon"><svg data-lucide="sigma"></svg></span>
<span class="sidebar-label">
Maths Lab
<span id="mathProjectsCountBadge">0</span>
</span>
</button>
<button aria-selected="false" class="sidebar-tab" data-category="utilities" role="tab" tabindex="-1">
<span class="sidebar-icon"><svg data-lucide="wrench"></svg></span>
<span class="sidebar-label">
Utilities Lab
<span id="utilitiesProjectsCountBadge">0</span>
</span>
</button>
<button aria-selected="false" class="sidebar-tab" data-category="favorites" role="tab" tabindex="-1">
<span class="sidebar-icon"><svg data-lucide="star"></svg></span>
<span class="sidebar-label">
My Favorites
<span id="favoritesCountBadge"></span>
</span>
</button>
<button aria-selected="false" class="sidebar-tab" data-category="playground" role="tab" tabindex="-1">
<span class="sidebar-icon"><svg data-lucide="terminal"></svg></span>
<span class="sidebar-label">Playground</span>
</button>
</nav>
</div>
<div class="sidebar-footer">
<div class="sidebar-controls">
<div class="sidebar-main-controls">
<button aria-label="Mute sound" class="sound-toggle" id="sidebarSoundToggle" type="button">
<i class="fas fa-volume-up" aria-hidden="true"></i>
</button>
<button aria-label="Switch theme" class="theme-toggle" id="sidebarThemeToggle" type="button">
<i class="fas fa-moon" aria-hidden="true"></i>
</button>
</div>
<div class="theme-selector">
<span class="theme-selector-label">Appearance</span>
<button id="themeModePicker" class="theme-picker" type="button" aria-haspopup="listbox"
aria-expanded="false">
<span class="theme-picker-value">Auto (System)</span>
<i class="fas fa-chevron-down theme-picker-chevron" aria-hidden="true"></i>
</button>
<ul id="themeModeMenu" class="theme-picker-menu" role="listbox" aria-label="Theme mode options">
<li role="option" class="theme-picker-option" data-value="auto" aria-selected="true">
Auto (System)
</li>
<li role="option" class="theme-picker-option" data-value="light" aria-selected="false">
Light
</li>
<li role="option" class="theme-picker-option" data-value="dark" aria-selected="false">
Dark
</li>
</ul>
</div>
<button aria-label="Toggle Sidebar" class="collapse-sidebar-btn" id="sidebarCollapseBtn" type="button">
<i class="fas fa-chevron-left"></i>
</button>
</div>
</div>
</aside>
<div class="sidebar-backdrop" id="sidebarBackdrop"></div>
<main id="main-content" tabindex="-1">
<!-- Hero Section -->
<section class="hero-section" aria-label="Welcome">
<canvas aria-hidden="true" id="boardCanvas"></canvas>
<div class="hero-background" aria-hidden="true"></div>
<div aria-hidden="true" class="hero-orb hero-orb-one"></div>
<div aria-hidden="true" class="hero-orb hero-orb-two"></div>
<div aria-hidden="true" class="hero-orb hero-orb-three"></div>
<div class="hero-shell">
<div class="hero-category-nav">
<button class="hero-nav-btn active" data-category="all">
<i class="fas fa-layer-group"></i>
<span>All Projects</span>
</button>
<button class="hero-nav-btn" data-category="games">
<i class="fas fa-gamepad"></i>
<span>Games</span>
</button>
<button class="hero-nav-btn" data-category="math">
<i class="fas fa-calculator"></i>
<span>Maths</span>
</button>
<button class="hero-nav-btn" data-category="utilities">
<i class="fas fa-wrench"></i>
<span>Utilities</span>
</button>
<button class="hero-nav-btn" data-category="favorites">
<i class="far fa-star"></i>
<span>Favorites</span>
</button>
<button class="hero-nav-btn" data-category="playground">
<i class="fas fa-code"></i>
<span>Playground</span>
</button>
</div>
<div class="hero-logo-header">
<div class="hero-logo-text">
<span class="hero-logo-py">py</span><span class="hero-logo-mini">.mini</span><span
class="hero-logo-parens">()</span>
</div>
</div>
<div class="hero-badge-row">
<span class="hero-kicker">
<span class="hero-kicker-dot"></span>
Python Arcade
</span>
<span class="hero-status">
<span class="hero-status-dot"></span>
System Status: Nominal
</span>
</div>
<div class="hero-title-wrapper">
<h1 class="hero-title">
<span class="hero-title-line">Build tiny Python</span>
<span class="hero-title-line hero-title-accent">projects & play</span>
</h1>
</div>
<p class="hero-subtitle">
Jump into browser-ready games, math experiments, and utility labs —
each one ready in your browser, no install required.
</p>
<div class="hero-cta-row">
<button class="btn-primary-hero" id="exploreBtn">
<i class="fas fa-rocket" aria-hidden="true"></i>
Explore Projects
</button>
<button class="btn-secondary-hero" id="randomProjectBtn">
<i class="fas fa-shuffle" aria-hidden="true"></i>
Surprise Me
</button>
<a class="btn-contribution-hero" id="contributionBtn"
href="https://github.com/steam-bell-92/python-mini-project/blob/main/CONTRIBUTING.md" target="_blank"
rel="noopener noreferrer">
<i class="fas fa-code-branch" aria-hidden="true"></i>
Open Contribution
</a>
</div>
<div class="stats-dashboard">
<button class="stats-card active" data-filter="all" type="button" aria-label="Show all projects">
<div class="stats-icon">
<svg data-lucide="layers"></svg>
</div>
<div class="stats-info">
<strong id="heroProjectCount">0</strong>
<span>Total Projects</span>
</div>
</button>
<button class="stats-card" data-filter="games" type="button" aria-label="Filter games">
<div class="stats-icon">
<svg data-lucide="gamepad-2"></svg>
</div>
<div class="stats-info">
<strong id="heroGameCount">0</strong>
<span>Games</span>
</div>
</button>
<button class="stats-card" data-filter="math" type="button" aria-label="Filter mathematics projects">
<div class="stats-icon">
<svg data-lucide="calculator"></svg>
</div>
<div class="stats-info">
<strong id="heroMathCount">0</strong>
<span>Maths</span>
</div>
</button>
<button class="stats-card" data-filter="utilities" type="button" aria-label="Filter utilities">
<div class="stats-icon">
<svg data-lucide="wrench"></svg>
</div>
<div class="stats-info">
<strong id="heroUtilityCount">0</strong>
<span>Utilities</span>
</div>
</button>
<button class="stats-card" data-filter="favorites" type="button" aria-label="Filter favorite projects">
<div class="stats-icon">
<svg data-lucide="star"></svg>
</div>
<div class="stats-info">
<strong id="heroFavoriteCount">0</strong>
<span>Favorites</span>
</div>
</button>
<button class="stats-card" data-filter="recent" type="button" aria-label="Scroll to recently viewed projects">
<div class="stats-icon">
<svg data-lucide="history"></svg>
</div>
<div class="stats-info">
<strong id="heroViewedCount">0</strong>
<span>Recently Viewed</span>
</div>
</button>
</div>
</div>
</section>
<!-- Recently Viewed Section -->
<section class="projects-section" id="recentlyViewedSection">
<div class="container">
<div class="section-header">
<h2 class="section-heading">
Recently Viewed
</h2>
</div>
<div class="projects-grid" id="recentlyViewedGrid"></div>
</div>
</section>
</section>
<!-- Projects Section -->
<section class="projects-section" id="projectsSection">
<div class="container">
<div class="section-header">
<h2 class="section-heading">
Projects <span id="projectCountBadge"></span>
</h2>
<button class="btn-random-project" id="randomProjectBtnSidebar" type="button">
<i class="fas fa-shuffle" aria-hidden="true"></i>
Surprise Me
</button>
</div>
<div class="projects-grid" id="projectsGrid"></div>
<div id="emptyState" class="empty-state" style="display: none">
<p>No Projects right now :)</p>
<p class="empty-state-hint">
Try adjusting your search or category filter.
</p>
</div>
</div>
</section>
<!-- Playground Section -->
<section aria-label="Python Playground" class="playground-section" id="playgroundSection" style="display: none">
<div class="container">
<div class="playground-header">
<div class="playground-title-row">
<h2 class="playground-title">🐍 Python Playground</h2>
<div aria-label="Pyodide status" aria-live="polite" class="playground-status" id="playgroundStatus">
<span class="status-dot" id="statusDot"></span>
<span id="statusText">Open tab to load Python</span>
</div>
</div>
<p class="playground-subtitle">
Write and run real Python code in your browser — powered by
<a href="https://pyodide.org" rel="noopener noreferrer" target="_blank">Pyodide</a>. No install, no backend.
</p>
<p class="playground-hint">
<kbd>Ctrl</kbd>+<kbd>Enter</kbd> / <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Enter</kbd> runs code ·
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>L</kbd> clears console ·
<kbd>Tab</kbd> inserts 4 spaces
</p>
</div>
<div class="playground-body">
<div class="editor-panel">
<div class="panel-header">
<span><i aria-hidden="true" class="fas fa-code"></i> Code
Editor</span>
<div class="editor-actions">
<button class="btn-panel-action" id="loadExample" title="Load a sample snippet" type="button">
<i aria-hidden="true" class="fas fa-lightbulb"></i> Example
</button>
<button class="btn-panel-action" id="copyEditorCode" title="Copy editor code to clipboard" type="button"
aria-label="Copy code to clipboard">
<i aria-hidden="true" class="fas fa-copy"></i> Copy
</button>
<button class="btn-panel-action" id="clearEditor" title="Clear the editor" type="button">
<i aria-hidden="true" class="fas fa-trash-alt"></i> Clear
</button>
</div>
</div>
<div id="pythonEditor" aria-label="Python code editor" role="textbox" aria-multiline="true"></div>
</div>
<div class="console-panel">
<div class="panel-header">
<span><i aria-hidden="true" class="fas fa-terminal"></i> Output
Console</span>
<div class="console-actions">
<button class="btn-panel-action" id="copyConsole" title="Copy console output to clipboard" type="button"
aria-label="Copy console output to clipboard">
<i aria-hidden="true" class="fas fa-copy"></i> Copy
</button>
<button class="btn-panel-action" id="clearConsole" title="Clear the console" type="button"
aria-label="Clear console output">
<i aria-hidden="true" class="fas fa-times-circle"></i> Clear
</button>
</div>
</div>
<pre aria-label="Console output" aria-live="polite" class="console-output" id="consoleOutput"></pre>
</div>
</div>
<div class="playground-controls">
<button aria-label="Run Python code" class="btn-run" disabled id="runCode" type="button">
<i aria-hidden="true" class="fas fa-play"></i> Run Code
</button>
<button aria-label="Stop execution" class="btn-stop" disabled id="stopCode" type="button">
<i aria-hidden="true" class="fas fa-stop"></i> Stop
</button>
<select id="draftSelector" class="draft-selector" aria-label="Select draft">
<option value="">Select Draft</option>
</select>
<button id="saveDraft" class="btn-panel-action" type="button">
Save Draft
</button>
<button id="loadDraft" class="btn-panel-action" type="button">
Load Draft
</button>
<button id="deleteDraft" class="btn-panel-action" type="button">
Delete Draft
</button>
</div>
<div id="draftStatus" class="draft-status">
No draft loaded
</div>
</div>
</section>
</main>
<!-- Project Modal -->
<div aria-hidden="true" aria-labelledby="modalDialogTitle" aria-modal="true" class="modal" id="projectModal"
role="dialog">
<div class="modal-content">
<div class="modal-header">
<button aria-label="Close project dialog" class="modal-close" id="modalClose" type="button">
×
</button>
</div>
<div id="modalBody"></div>
</div>
</div>
<!-- Back to Top -->
<button aria-label="Back to top" class="back-to-top" id="backToTop" title="Back to top" type="button">
<i class="fas fa-arrow-up" aria-hidden="true"></i>
</button>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-brand">
<h2>🎮 Python Mini Projects</h2>
<p>Learn Python the Fun Way! Interactive games, math visualizations, and utilities built directly in
your browser.</p>
<div class="footer-social-icons">
<a href="https://github.com/steam-bell-92/python-mini-project" target="_blank" class="github"
rel="noopener noreferrer" aria-label="GitHub"><i class="fab fa-github"></i></a>
<a href="https://x.com/AnujKulkarni040" class="twitter" aria-label="X (formerly Twitter)">
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="currentColor">
<path
d="M18.901 1.153h3.68l-8.04 9.19L24 22.847h-7.406l-5.8-7.584-6.64 7.584H.473l8.6-9.83L0 1.153h7.594l5.243 6.932L18.901 1.153z" />
</svg>
</a>
<a href="https://www.linkedin.com/in/anujCkulkarni" class="linkedin" aria-label="LinkedIn"><i
class="fab fa-linkedin"></i></a>
<a href="https://www.instagram.com/obscura.nuj" class="instagram" aria-label="Instagram"><i
class="fab fa-instagram"></i></a>
</div>
</div>
<div class="footer-link-section">
<div class="footer-links">
<h3>Quick-Links</h3>
<ul>
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'games\']').click()"><svg width="20" height="20" data-lucide="gamepad-2"></svg>Games</a>
</li>
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'math\']').click()"><svg
width="20" height="20" data-lucide="sigma"></svg>Math</a>
</li>
<li><a href="#main-content"
onclick="document.querySelector('[data-category=\'utilities\']').click()"><svg width="20" height="20" data-lucide="wrench"></svg>Utilities</a></li>
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'favorites\']').click()"><svg width="20" height="20" data-lucide="star"></svg>Favorites</a></li>
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'playground\']').click()"><svg width="20" height="20" data-lucide="terminal"></svg>Playground</a></li>
</ul>
</div>
<div class="footer-links">
<h3>Resources</h3>
<ul>
<li><a href="https://github.com/steam-bell-92/python-mini-project#readme"><i
class="fas fa-book" aria-hidden="true"></i> Documentation</a></li>
<li><a
href="https://github.com/steam-bell-92/python-mini-project/blob/a54ac8251fd79a6b7f4e43b54720c7f45225ac7e/CONTRIBUTING.md"><i
class="fas fa-code-branch" aria-hidden="true"></i>
Contribute</a></li>
<li><a href="https://github.com/steam-bell-92/python-mini-project/issues/new"><i class="fas fa-bug"
aria-hidden="true"></i> Report a Bug</a></li>
<li><a href="faq.html"><i
class="fas fa-question-circle" aria-hidden="true"></i> FAQ</a></li>
</ul>
</div>
</div>
<div class="footer-newsletter">
<h3>Stay Updated</h3>
<p>Get notified about new projects and features!</p>
<form class="newsletter-form" onsubmit="event.preventDefault(); alert('Thanks for subscribing!');">
<input class="footer-input" type="email" placeholder="Enter your email" required
aria-label="Email for newsletter">
<button type="submit" aria-label="Subscribe">
<i class="fas fa-paper-plane"></i>
</button>
</form>
</div>
</div>
<div class="footer-bottom">
<div class="footer-bottom-links">
<a href="privacy-policy.html">Privacy Policy</a>
<span class="separator">•</span>
<a href="terms-condition.html">Terms of Service</a>
</div>
<p>Made with ❤️ for Python learners everywhere © 2026</p>
</div>
</div>
</div>
</footer>
<!-- Scripts -->
<script defer src="https://cdn.jsdelivr.net/npm/lucide@latest/dist/umd/lucide.js"></script>
<script defer src="js/audio.js"></script>
<script defer src="js/audioManager.js"></script>
<!-- ALL PROJECT SCRIPTS -->
<script defer src="js/projects/rock-paper-scissor.js"></script>
<script defer src="js/projects/dice-rolling.js"></script>
<script defer src="js/projects/coin-flip.js"></script>
<script defer src="js/projects/chess.js"></script>
<script defer src="js/projects/progress-tracker.js"></script>
<script defer src="js/projects/number-guessing.js"></script>
<script defer src="js/projects/binary-search.js"></script>
<script defer src="js/projects/sorting-visualizer.js"></script>
<script defer src="js/projects/quick-sort.js"></script>
<script defer src="js/projects/merge-sort.js"></script>
<script defer src="js/projects/hangman.js"></script>
<script defer src="js/projects/flames.js"></script>
<script defer src="js/projects/fibonacci.js"></script>
<script defer src="js/projects/pascal-triangle.js"></script>
<script defer src="js/projects/calculator.js?v=2"></script>
<script defer src="js/projects/collatz.js"></script>
<script defer src="js/projects/armstrong.js"></script>
<script defer src="js/projects/prime-analyzer.js"></script>
<script defer src="js/projects/projectile-motion.js"></script>
<script defer src="js/projects/progression-recognizer.js"></script>
<script defer src="js/projects/coordinate-polar-transform.js"></script>
<script defer src="js/projects/complete-calculus-engine.js"></script>
<script defer src="js/projects/morse-code.js"></script>
<script defer src="js/projects/tower-of-hanoi.js"></script>
<script defer src="js/projects/math-quiz.js"></script>
<script defer src="js/projects/simon-says.js"></script>
<script defer src="js/projects/flappy-game.js"></script>
<script defer src="js/projects/tic-tac-toe.js"></script>
<script defer src="js/projects/2048-game.js"></script>
<script defer src="js/projects/dots-boxes.js"></script>
<script defer src="js/projects/emoji-memory-game.js"></script>
<script defer src="js/projects/number-converter.js"></script>
<script defer src="js/projects/password-forge.js"></script>
<script defer src="js/projects/typing-speed-tester.js"></script>
<script defer src="js/projects/productive-pet.js"></script>
<script defer src="js/projects/whack-a-mole.js"></script>
<script defer src="js/projects/word-scramble.js"></script>
<script defer src="js/projects/snake.js"></script>
<script defer src="js/projects/spot-the-difference.js"></script>
<script defer src="js/projects/sudoku-game.js"></script>
<script defer src="js/projects/queens-logic-puzzle.js"></script>
<script defer src="js/projects/color-palette.js"></script>
<script src="js/projects/caesar-cipher.js"></script>
<script src="js/projects/matrix-calculator.js"></script>
<script defer src="js/projects/reverse-hangman.js"></script>
<script defer src="js/projects/unit-converter.js"></script>
<script defer src="js/projects/fourier-series.js"></script>
<script defer src="js/projects/pathfinding-visualizer.js?v=2"></script>
<script defer src="js/projects/tsp-visualizer.js"></script>
<script defer src="js/projects.js?v=4"></script>
<script defer src="js/cm-editor.js"></script>
<script defer src="js/playground.js"></script>
<script defer type="module" src="js/main.js?v=3"></script>
<script defer src="js/hero-canvas.js"></script>
<script defer src="js/projects/war-card-game.js"></script>
<script defer src="js/projects/number-sliding-puzzle.js"></script>
<script defer src="js/projects/budget-tracker.js"></script>
<script defer src="js/projects/minesweeper.js"></script>
<script>
window.addEventListener('DOMContentLoaded', () => {
if (typeof lucide !== 'undefined') lucide.createIcons();
});
</script>
<!-- PROJECT LOADER - WITH FAVORITE BUTTONS & FIXED MODAL -->
<script>
(function () {
const projectsGrid = document.getElementById("projectsGrid");
if (!projectsGrid) return;
// ALL projects from your js/projects/ folder
const projectsData = [
// GAMES (20+)
{
project: "number-sliding-puzzle",
title: "Number Sliding Puzzle",
category: "games",
difficulty: "Intermediate",
desc: "Arrange tiles in order by sliding them into empty space",
tags: "game,puzzle,sliding,numbers",
},
{
project: "2048-game",
title: "2048 Game",
category: "games",
desc: "Combine tiles and reach 2048!",
tags: "game,puzzle,2048",
},
{
project: "rock-paper-scissor",
title: "Rock Paper Scissor",
category: "games",
desc: "Classic hand game against AI",
tags: "game,rock,paper",
},
{
project: "dice-rolling",
title: "Dice Rolling",
category: "games",
desc: "Roll virtual dice",
tags: "game,dice",
},
{
project: "coin-flip",
title: "Coin Flip",
category: "games",
desc: "Flip a coin for decisions",
tags: "game,coin",
},
{
project: "number-guessing",
title: "Number Guessing",
category: "games",
desc: "Guess the secret number",
tags: "game,numbers",
},
{
project: "hangman",
title: "Hangman",
category: "games",
desc: "Classic word guessing game",
tags: "game,words",
},
{
project: "word-scramble",
title: "Word Scramble",
category: "games",
desc: "Unscramble letters to find words",
tags: "game,words",
},
{
project: "tic-tac-toe",
title: "Tic Tac Toe",
category: "games",
desc: "Classic X vs O game",
tags: "game,strategy",
},
{
project: "snake-game",
title: "Snake Game",
category: "games",
desc: "Classic snake eating game",
tags: "game,arcade",
},
{
project: "flappy-game",
title: "Flappy Game",
category: "games",
desc: "Flappy bird style game",
tags: "game,arcade",
},
{
project: "simon-says",
title: "Simon Says",
category: "games",
desc: "Memory pattern game",
tags: "game,memory",
},
{
project: "whack-a-mole",
title: "Whack a Mole",
category: "games",
desc: "Hit the moles as they pop up",
tags: "game,arcade",
},
{
project: "dots-boxes",
title: "Dots and Boxes",
category: "games",
desc: "Connect dots to complete boxes",
tags: "game,strategy",
},
{
project: "emoji-memory-game",
title: "Emoji Memory",
category: "games",
desc: "Match pairs of emojis",
tags: "game,memory",
},
{
project: "spot-the-difference",
title: "Spot the Difference",
category: "games",
desc: "Find differences between images",
tags: "game,puzzle",
},
{
project: "minesweeper",
title: "Minesweeper",
category: "games",
desc: "Clear the minefield without detonating any mines!",
tags: "game,puzzle,logic,minesweeper",
},
{
project: "flames",
title: "FLAMES Game",
category: "games",
desc: "Friendship relationship calculator",
tags: "game,relationship",
},
{
project: "sudoku-game",
title: "Sudoku Solver & Game",
category: "games",
desc: "Interactive Sudoku with difficulty levels and visual backtracking solver",
tags: "game,puzzle,backtracking,solver",
},
{
project: "queens-logic-puzzle",
title: "Queens Logic Puzzle",
category: "games",
desc: "Place queens following row, column, region, and adjacency rules!",
tags: "game,puzzle,logic,queens,strategy",
},
{
project: "chess",
title: "Chess Game",
category: "games",
desc: "Play a standard game of Chess locally or against a basic AI!",
tags: "chess, strategy, board game, 2 player, ai, minimax",
},
{
project: "war-card-game",
title: "War Card Game",
category: "games",
desc: "A classic two-player card game based on comparing rank values",
tags: "game,cards,multiplayer,war",
},
// MATH (15+)
{
project: "binary-search",
title: "Binary Search",
category: "math",
desc: "Visualize binary search algorithm",
tags: "math,algorithm",
},
{
project: "sorting-visualizer",
title: "Sorting Visualizer",
category: "math",
desc: "Visualize multi-algorithm sorting (Bubble, Selection, Insertion, Quick)",
tags: "math,algorithm,sorting",
},
{
project: "quick-sort",
title: "Quick Sort",
category: "math",
desc: "Visualize quick sort algorithm with pivot partitioning",
tags: "math,algorithm",
},
{
project: "merge-sort",
title: "Merge Sort",
category: "math",
desc: "Visualize merge sort algorithm with divide-and-conquer approach",
tags: "math,algorithm",
},
{
project: "fibonacci",
title: "Fibonacci",
category: "math",
desc: "Generate Fibonacci sequence",
tags: "math,numbers",
},
{
project: "pascal-triangle",
title: "Pascal Triangle",
category: "math",
desc: "Generate Pascal's triangle",
tags: "math,numbers",
},
{
project: "armstrong",
title: "Armstrong Number",
category: "math",
desc: "Check Armstrong numbers",
tags: "math,numbers",
},
{
project: "collatz",
title: "Collatz Conjecture",
category: "math",
desc: "3n+1 sequence analyzer",
tags: "math,numbers",
},
{
project: "prime-analyzer",
title: "Prime Analyzer",
category: "math",
desc: "Prime number checker",
tags: "math,numbers",
},
{
project: "projectile-motion",
title: "Projectile Motion",
category: "math",
desc: "Physics projectile calculator",
tags: "math,physics",
},
{
project: "progression-recognizer",
title: "Progression Recognizer",
category: "math",
desc: "Recognize sequences",
tags: "math,sequences",
},
{
project: "matrix-calculator",
title: "Matrix Calculator",
category: "math",
desc: "Add, subtract, multiply, transpose, determinant, rank, inverse",
tags: "math,matrix,algebra,calculator",
},
{
project: "reverse-hangman",
title: "Reverse Hangman",
category: "games",
desc: "Computer tries to guess your secret word using AI logic",
tags: "game,hangman,ai,word,guessing",
},
{
project: "coordinate-polar-transform",
title: "Coordinate Transform",
category: "math",
desc: "Convert between coordinate systems",
tags: "math,coordinates",
},
{
project: "complete-calculus-engine",
title: "Complete Calculus Engine",
category: "math",
desc: "Calculate derivatives",
tags: "math,calculus",
},
{
project: "tower-of-hanoi",
title: "Tower of Hanoi",
category: "utilities",
desc: "Solve Tower of Hanoi puzzle",
tags: "utility,puzzle",
},
{
project: "math-quiz",
title: "Math Quiz",
category: "math",
desc: "Test your math skills",
tags: "math,quiz",
},
{
project: "fourier-series",
title: "Fourier Series Visualizer",
category: "math",
desc: "Explore waveform approximation using harmonics",
tags: "math,fourier,wave,harmonics",
},
// UTILITIES (10+)
{
project: "pathfinding-visualizer",
title: "Pathfinding Visualizer",
category: "utilities",
desc: "Interactive visualizer for Dijkstra and A* algorithms",
tags: "utility,algorithm,visualizer,pathfinding"
},
{
project: "budget-tracker",
title: "Budget Tracker",
category: "utilities",
desc: "Track income and expenses, view categories, and persist data locally",
tags: "utility,finance,tracker,money"
},
{
project: "morse-code",
title: "Morse Code",
category: "utilities",
desc: "Convert text to Morse code",
tags: "utility,converter",
},
{
project: "number-converter",
title: "Number Converter",
category: "utilities",
desc: "Convert between number systems",
tags: "utility,converter",
},
{
project: "password-forge",
title: "Password Forge",
category: "utilities",
desc: "Generate strong passwords",
tags: "utility,security",
},
{
project: "typing-speed-tester",
title: "Typing Speed Tester",
category: "utilities",
desc: "Test your typing speed",
tags: "utility,typing",
},
{
project: "productive-pet",
title: "Productive Pet",
category: "utilities",
desc: "Virtual productivity pet",
tags: "utility,pet",
},
{
project: "color-palette",
title: "Color Palette",
category: "utilities",
desc: "Generate color palettes",
tags: "utility,design",
},
{
project: "calculator",
title: "Scientific Graphing Calculator",
category: "math",
desc: "A scientific graphing calculator",